summaryrefslogtreecommitdiffstats
path: root/hw/s390x/s390-virtio.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin2015-02-16 22:36:58 +0100
committerMichael S. Tsirkin2015-02-26 13:04:06 +0100
commitad67a0f278ff9ad036a986384f1e3e94717af08e (patch)
tree9ac569fcdac230a5205318f4c2a000c9d5816322 /hw/s390x/s390-virtio.h
parentstandard-headers: add s390 virtio headers (diff)
downloadqemu-ad67a0f278ff9ad036a986384f1e3e94717af08e.tar.gz
qemu-ad67a0f278ff9ad036a986384f1e3e94717af08e.tar.xz
qemu-ad67a0f278ff9ad036a986384f1e3e94717af08e.zip
s390: use standard headers
Drop duplicated macros in favor of values from standard headers. Tested-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/s390x/s390-virtio.h')
-rw-r--r--hw/s390x/s390-virtio.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/hw/s390x/s390-virtio.h b/hw/s390x/s390-virtio.h
index 75b67eda20..c847853957 100644
--- a/hw/s390x/s390-virtio.h
+++ b/hw/s390x/s390-virtio.h
@@ -13,11 +13,8 @@
#define HW_S390_VIRTIO_H 1
#include "hw/nmi.h"
-
-#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
+#include "standard-headers/asm-s390/kvm_virtio.h"
+#include "standard-headers/asm-s390/virtio-ccw.h"
typedef int (*s390_virtio_fn)(const uint64_t *args);
void s390_register_virtio_hypercall(uint64_t code, s390_virtio_fn fn);