diff options
| author | Marc-André Lureau | 2018-12-12 16:36:30 +0100 |
|---|---|---|
| committer | Marc-André Lureau | 2019-01-07 13:18:41 +0100 |
| commit | 503224f4c8d1469ea9c00a2017334a455044d822 (patch) | |
| tree | e15b626fc048eb9fedac41f248837b4a400e08d9 /hw/i386/pc.c | |
| parent | compat: replace PC_COMPAT_2_11 & HW_COMPAT_2_11 macros (diff) | |
| download | qemu-503224f4c8d1469ea9c00a2017334a455044d822.tar.gz qemu-503224f4c8d1469ea9c00a2017334a455044d822.tar.xz qemu-503224f4c8d1469ea9c00a2017334a455044d822.zip | |
compat: replace PC_COMPAT_2_10 & HW_COMPAT_2_10 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 'hw/i386/pc.c')
| -rw-r--r-- | hw/i386/pc.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 563ba90202..c0bb82c454 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -169,6 +169,23 @@ GlobalProperty pc_compat_2_11[] = { }; const size_t pc_compat_2_11_len = G_N_ELEMENTS(pc_compat_2_11); +GlobalProperty pc_compat_2_10[] = { + { + .driver = TYPE_X86_CPU, + .property = "x-hv-max-vps", + .value = "0x40", + },{ + .driver = "i440FX-pcihost", + .property = "x-pci-hole64-fix", + .value = "off", + },{ + .driver = "q35-pcihost", + .property = "x-pci-hole64-fix", + .value = "off", + }, +}; +const size_t pc_compat_2_10_len = G_N_ELEMENTS(pc_compat_2_10); + void gsi_handler(void *opaque, int n, int level) { GSIState *s = opaque; |
