Skip to contentSkip to conversation

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

PATCH New Michael S. Tsirkin 1 participant 1 message Jul 27, 2020

lore
Share & tools
lore
#0 lore raw

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

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(-)
hw/core/machine.c +1 -0
index 2f881d6d75..8d1a90c6cf 100644
@@ -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" },
hw/i386/pc.c +0 -1
index f6ff0c5514..47c5ca3e34 100644
@@ -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);
 
Signature · 1 line
MST