Revision 31d0f80f hw/virtio-console.c

b/hw/virtio-console.c
91 91
{
92 92
    VirtConsole *vcon = DO_UPCAST(VirtConsole, port, port);
93 93

  
94
    port->is_console_dummy = true;
95 94
    return generic_port_init(vcon, port);
96 95
}
97 96

  
......
117 116
    .init          = virtconsole_initfn,
118 117
    .exit          = virtconsole_exitfn,
119 118
    .qdev.props = (Property[]) {
120
        DEFINE_PROP_UINT8("is_console", VirtConsole, port.is_console_dummy, 1),
121 119
        DEFINE_PROP_UINT32("nr", VirtConsole, port.id, VIRTIO_CONSOLE_BAD_ID),
122 120
        DEFINE_PROP_CHR("chardev", VirtConsole, chr),
123 121
        DEFINE_PROP_STRING("name", VirtConsole, port.name),

Also available in: Unified diff