diff options
author | Michael S. Tsirkin | 2015-02-16 22:36:58 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2015-02-26 13:04:06 +0100 |
commit | ad67a0f278ff9ad036a986384f1e3e94717af08e (patch) | |
tree | 9ac569fcdac230a5205318f4c2a000c9d5816322 /hw/s390x/s390-virtio.h | |
parent | standard-headers: add s390 virtio headers (diff) | |
download | qemu-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.h | 7 |
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); |