summaryrefslogtreecommitdiffstats
path: root/hw/s390x/virtio-ccw.h
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2013-07-15 17:45:03 +0200
committerCornelia Huck <cornelia.huck@de.ibm.com>2014-05-20 13:05:58 +0200
commit03cf077ac9c02ccc192b9011ced12cc74f9151bb (patch)
treec19eaf4fcfa9f022aca35727c1871161564e9a69 /hw/s390x/virtio-ccw.h
parent7b35d0c44cae3dcce6347a0729a416c2929cd4bb (diff)
downloadhqemu-03cf077ac9c02ccc192b9011ced12cc74f9151bb.zip
hqemu-03cf077ac9c02ccc192b9011ced12cc74f9151bb.tar.gz
s390x: add I/O adapter registration
Register an I/O adapter interrupt source for when virtio-ccw devices start using adapter interrupts. Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> 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 4393e44..0b70b91 100644
--- a/hw/s390x/virtio-ccw.h
+++ b/hw/s390x/virtio-ccw.h
@@ -85,6 +85,7 @@ struct VirtioCcwDevice {
bool ioeventfd_disabled;
uint32_t flags;
uint8_t thinint_isc;
+ uint32_t adapter_id;
/* Guest provided values: */
hwaddr indicators;
hwaddr indicators2;
OpenPOWER on IntegriCloud