diff options
Diffstat (limited to 'hw/virtio-serial.c')
-rw-r--r-- | hw/virtio-serial.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/virtio-serial.c b/hw/virtio-serial.c index 1dc031eb29..9c2c93c513 100644 --- a/hw/virtio-serial.c +++ b/hw/virtio-serial.c @@ -100,6 +100,7 @@ static VirtIOSerialPortInfo virtconsole_info = { .qdev.props = (Property[]) { DEFINE_PROP_UINT8("is_console", VirtConsole, port.is_console, 1), DEFINE_PROP_CHR("chardev", VirtConsole, chr), + DEFINE_PROP_STRING("name", VirtConsole, port.name), DEFINE_PROP_END_OF_LIST(), }, }; |