Hello Michael and Gerd,

As discussed, this series attempts to clean up PCIe devices fiddling with
individual PCIe VMState fields. It is based on my qom-next queue, containing
type and field changes for PCIe devices.

Patch 1 assumes the following are equivalent:
a) - Struct A
     - Field Aa
     ...
   - Field X
     ...
b) - Struct A
     - Field Aa
     ...
     - Field X

Patch 2 relies on XHCI not being released yet, thus no compatibiliy concerns.

Patch 3 assumes the following are equivalent:
a) - Struct A
     - Field Aa
     ...
     - Field X
b) - Struct A
     - Field Aa
     ...
     - Subsection Ax
       - Field X

CC'ing Juan to verify which of these are correct/safe.

Regards,
Andreas

Cc: Michael S. Tsirkin <m...@redhat.com>
Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Juan Quintela <quint...@redhat.com>
Cc: Anthony Liguori <anth...@codemonkey.ws>

Andreas Färber (3):
  pcie: Move AER log into VMSTATE_PCIE_DEVICE()
  pci: Add MSIX subsection for vmstate_pcie_device
  pci: Move AER log into VMStateSubsection

 hw/pci-bridge/ioh3420.c            |  2 --
 hw/pci-bridge/xio3130_downstream.c |  2 --
 hw/pci-bridge/xio3130_upstream.c   |  2 --
 hw/pci/pci.c                       | 36 ++++++++++++++++++++++++++++++++++++
 hw/pci/pcie_aer.c                  |  1 +
 hw/usb/hcd-xhci.c                  |  1 -
 6 files changed, 37 insertions(+), 7 deletions(-)

-- 
1.8.1.4


Reply via email to