virtio-serial: add plumbing for virtio console emergency write support
commit09da01c3f205b008ce0c7a960092bcc03b383b50
authorSascha Silbe <silbe@linux.vnet.ibm.com>
Tue, 27 Sep 2016 13:43:36 +0000 (27 15:43 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 9 Oct 2016 22:16:57 +0000 (10 01:16 +0300)
tree3a14b14ecfd3209e884e351e40658c183e17801e
parent17871f71fd2ff5d76196051470e9604bfb6f0c09
virtio-serial: add plumbing for virtio console emergency write support

Add the infrastructure required for the virtio 1.0 "emergency write"
(VIRTIO_CONSOLE_F_EMERG_WRITE) feature. Because we don't touch the
size of the configuration area, guests will not be able to actually
make use of this without further patches.

Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/char/virtio-serial-bus.c