/* Feature bits */ #define VIRTIO_CONSOLE_F_SIZE 0/* Does host provide console size? */ #define VIRTIO_CONSOLE_F_MULTIPORT 1/* Does host provide multiple ports? */ #define VIRTIO_CONSOLE_F_EMERG_WRITE 2/* Does host support emergency write? */
#define VIRTIO_CONSOLE_BAD_ID (~(__u32)0)
struct virtio_console_config { /* colums of the screens */
__virtio16 cols; /* rows of the screens */
__virtio16 rows; /* max. number of ports this device can hold */
__virtio32 max_nr_ports; /* emergency write register */
__virtio32 emerg_wr;
} __attribute__((packed));
/* *Amessagethat'spassedbetweentheHostandtheGuestfora *particularport.
*/ struct virtio_console_control {
__virtio32 id; /* Port number */
__virtio16 event; /* The kind of control event (see below) */
__virtio16 value; /* Extra information for the key */
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.