aboutsummaryrefslogtreecommitdiff
path: root/tests/virtio-blk-test.c
diff options
context:
space:
mode:
authorSascha Silbe <silbe@linux.vnet.ibm.com>2016-09-27 15:43:37 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-10-10 01:16:57 +0300
commita06b1dae4706fccb9394b35e88d1905dabec85e7 (patch)
treed4d0cd841c404a81a202d2ae3b80950394de3e33 /tests/virtio-blk-test.c
parent09da01c3f205b008ce0c7a960092bcc03b383b50 (diff)
downloadqemu-a06b1dae4706fccb9394b35e88d1905dabec85e7.zip
qemu-a06b1dae4706fccb9394b35e88d1905dabec85e7.tar.gz
qemu-a06b1dae4706fccb9394b35e88d1905dabec85e7.tar.bz2
virtio-serial: enable virtio console emergency write feature
Add support for enabling the virtio 1.0 "emergency write" (VIRTIO_CONSOLE_F_EMERG_WRITE) feature. The previous patch introduced the plumbing required for this; now we expose the virtio feature to the guest. The feature is disabled for compatibility machines to avoid exposing a new feature to existing guests. As required by the virtio 1.0 spec, the emergency write functionality is available to the guest even if the guest doesn't negotatiate the feature, as well as before feature negotation. 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>
Diffstat (limited to 'tests/virtio-blk-test.c')
0 files changed, 0 insertions, 0 deletions