qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fixup! hw/pci-host: save/restore pci host config register
@ 2020-07-27 14:14 Michael S. Tsirkin
  0 siblings, 0 replies; only message in thread
From: Michael S. Tsirkin @ 2020-07-27 14:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Hogan Wang, Eduardo Habkost, Richard Henderson

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 --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);
 
-- 
MST



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-27 14:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-27 14:14 [PATCH] fixup! hw/pci-host: save/restore pci host config register Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).