{
VirtConsole *vcon = DO_UPCAST(VirtConsole, port, port);
- port->is_console_dummy = true;
return generic_port_init(vcon, port);
}
.init = virtconsole_initfn,
.exit = virtconsole_exitfn,
.qdev.props = (Property[]) {
- DEFINE_PROP_UINT8("is_console", VirtConsole, port.is_console_dummy, 1),
DEFINE_PROP_UINT32("nr", VirtConsole, port.id, VIRTIO_CONSOLE_BAD_ID),
DEFINE_PROP_CHR("chardev", VirtConsole, chr),
DEFINE_PROP_STRING("name", VirtConsole, port.name),
*/
QEMUBH *bh;
- /* For property backward compatibility, not used otherwise */
- uint8_t is_console_dummy;
-
/* Is the corresponding guest device open? */
bool guest_connected;
/* Is this device open for IO on the host? */