diff options
author | Marc-André Lureau | 2018-12-12 16:36:30 +0100 |
---|---|---|
committer | Marc-André Lureau | 2019-01-07 13:18:42 +0100 |
commit | ff8f261f113b55d3eb83ea9163d70a0f1ea36daa (patch) | |
tree | 768e1a54668b97d0b78f4da04c2c726e7ba19d17 /include/hw/compat.h | |
parent | compat: replace PC_COMPAT_2_7 & HW_COMPAT_2_7 macros (diff) | |
download | qemu-ff8f261f113b55d3eb83ea9163d70a0f1ea36daa.tar.gz qemu-ff8f261f113b55d3eb83ea9163d70a0f1ea36daa.tar.xz qemu-ff8f261f113b55d3eb83ea9163d70a0f1ea36daa.zip |
compat: replace PC_COMPAT_2_6 & HW_COMPAT_2_6 macros
Use static arrays instead.
Suggested-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw/compat.h')
-rw-r--r-- | include/hw/compat.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h index 7ceab17401..c744233fb6 100644 --- a/include/hw/compat.h +++ b/include/hw/compat.h @@ -1,21 +1,6 @@ #ifndef HW_COMPAT_H #define HW_COMPAT_H -#define HW_COMPAT_2_6 \ - {\ - .driver = "virtio-mmio",\ - .property = "format_transport_address",\ - .value = "off",\ - },{\ - .driver = "virtio-pci",\ - .property = "disable-modern",\ - .value = "on",\ - },{\ - .driver = "virtio-pci",\ - .property = "disable-legacy",\ - .value = "off",\ - }, - #define HW_COMPAT_2_5 \ {\ .driver = "isa-fdc",\ |