Revision 6663a195 hw/virtio-serial.h

b/hw/virtio-serial.h
49 49
#define VIRTIO_CONSOLE_PORT_READY	0
50 50
#define VIRTIO_CONSOLE_CONSOLE_PORT	1
51 51
#define VIRTIO_CONSOLE_RESIZE		2
52
#define VIRTIO_CONSOLE_PORT_OPEN	3
52 53

  
53 54
/* == In-qemu interface == */
54 55

  
......
92 93

  
93 94
    /* Identify if this is a port that binds with hvc in the guest */
94 95
    uint8_t is_console;
96

  
97
    /* Is the corresponding guest device open? */
98
    bool guest_connected;
99
    /* Is this device open for IO on the host? */
100
    bool host_connected;
95 101
};
96 102

  
97 103
struct VirtIOSerialPortInfo {

Also available in: Unified diff