mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
char: rename CharDriverState Chardev
Pick a uniform chardev type name. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d5cafc733d
commit
0ec7b3e7f2
80 changed files with 727 additions and 724 deletions
|
@ -168,7 +168,7 @@ static void virtconsole_realize(DeviceState *dev, Error **errp)
|
|||
VirtIOSerialPort *port = VIRTIO_SERIAL_PORT(dev);
|
||||
VirtConsole *vcon = VIRTIO_CONSOLE(dev);
|
||||
VirtIOSerialPortClass *k = VIRTIO_SERIAL_PORT_GET_CLASS(dev);
|
||||
CharDriverState *chr = qemu_chr_fe_get_driver(&vcon->chr);
|
||||
Chardev *chr = qemu_chr_fe_get_driver(&vcon->chr);
|
||||
|
||||
if (port->id == 0 && !k->is_console) {
|
||||
error_setg(errp, "Port number 0 on virtio-serial devices reserved "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue