summaryrefslogtreecommitdiffstats
path: root/hw/s390x/virtio-ccw.h
diff options
context:
space:
mode:
authorCornelia Huck2013-02-19 13:48:17 +0100
committerCornelia Huck2013-06-25 17:11:12 +0200
commit320ce8503baf081725f74514d73d7bd65071a45e (patch)
tree33875a71c9a7fafe22cd91f66853232e0a5a414c /hw/s390x/virtio-ccw.h
parentvirtio-ccw: Wire up ioeventfd. (diff)
downloadqemu-320ce8503baf081725f74514d73d7bd65071a45e.tar.gz
qemu-320ce8503baf081725f74514d73d7bd65071a45e.tar.xz
qemu-320ce8503baf081725f74514d73d7bd65071a45e.zip
virtio-ccw: Wire up guest and host notifies.
Guest and host notifiers are needed by vhost. We use ioeventfds for the guest notifiers, but need to fall back on qemu injecting interrupts for the host notifiers. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/s390x/virtio-ccw.h')
-rw-r--r--hw/s390x/virtio-ccw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/virtio-ccw.h b/hw/s390x/virtio-ccw.h
index 433f27af4b..96d6f5d5b7 100644
--- a/hw/s390x/virtio-ccw.h
+++ b/hw/s390x/virtio-ccw.h
@@ -82,6 +82,7 @@ struct VirtioCcwDevice {
uint32_t host_features[VIRTIO_CCW_FEATURE_SIZE];
VirtioBusState bus;
bool ioeventfd_started;
+ bool ioeventfd_disabled;
uint32_t flags;
/* Guest provided values: */
hwaddr indicators;