aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/s390-virtio.h
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2013-01-24 06:08:56 +0000
committerAlexander Graf <agraf@suse.de>2013-01-29 21:50:05 +0100
commita5c95808bac7d995378b3835e10011775c7c2d0b (patch)
treed1d7094b07cb498c886ba6658c67b241f465c08d /hw/s390x/s390-virtio.h
parentab290630fad0df42ee94a81b20c48d0da2dc6f66 (diff)
s390: Add s390-ccw-virtio machine.
Add a new machine type, s390-ccw-virtio, making use of the virtio-ccw transport to present virtio devices as channel devices. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/s390x/s390-virtio.h')
-rw-r--r--hw/s390x/s390-virtio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/s390-virtio.h b/hw/s390x/s390-virtio.h
index 67bfd20646..a6c4c19895 100644
--- a/hw/s390x/s390-virtio.h
+++ b/hw/s390x/s390-virtio.h
@@ -15,6 +15,7 @@
#define KVM_S390_VIRTIO_NOTIFY 0
#define KVM_S390_VIRTIO_RESET 1
#define KVM_S390_VIRTIO_SET_STATUS 2
+#define KVM_S390_VIRTIO_CCW_NOTIFY 3
typedef int (*s390_virtio_fn)(const uint64_t *args);
void s390_register_virtio_hypercall(uint64_t code, s390_virtio_fn fn);