diff mbox series

fixup! hw/pci-host: save/restore pci host config register

Message ID 20200727141410.97113-1-mst@redhat.com (mailing list archive)
State New, archived
Headers show
Series fixup! hw/pci-host: save/restore pci host config register | expand

Commit Message

Michael S. Tsirkin July 27, 2020, 2:14 p.m. UTC
I am squashing this into save/restore pci host config register
patch - otherwise all versioned arches are broken.

---
 hw/core/machine.c | 1 +
 hw/i386/pc.c      | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/hw/core/machine.c b/hw/core/machine.c
index 2f881d6d75..8d1a90c6cf 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -29,6 +29,7 @@ 
 #include "migration/vmstate.h"
 
 GlobalProperty hw_compat_5_0[] = {
+    { "pci-host-bridge", "x-config-reg-migration-enabled", "off" },
     { "virtio-balloon-device", "page-poison", "false" },
     { "vmport", "x-read-set-eax", "off" },
     { "vmport", "x-signal-unsupported-cmd", "off" },
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index f6ff0c5514..47c5ca3e34 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -98,7 +98,6 @@ 
 #include "trace.h"
 
 GlobalProperty pc_compat_5_0[] = {
-    { "pci-host-bridge", "x-config-reg-migration-enabled", "off" },
 };
 const size_t pc_compat_5_0_len = G_N_ELEMENTS(pc_compat_5_0);