qemu-e2k/include/hw/pci
Dr. David Alan Gilbert 20daa90a20 PCI/migration merge vmstate_pci_device and vmstate_pcie_device
The vmstate_pci_device and vmstate_pcie_devices differ
just in the size of one buffer; combine the two using a _TEST
macro.

I think this is safe as long as everywhere which currently
uses either of these two uses the right type.

One thing that concerns me is that some places use pci_device_load/save
which does some irq mangling, but others just use the VMSTATE_PCI_DEVICE
macro - how are they getting the same irq mangling?

This passes a smoke test migrate of:
./x86_64-softmmu/qemu-system-x86_64 -M pc,accel=kvm -m 1024
./littlefed20.img -device e1000e -device virtio-net -device
e1000 -device virtio-rng -device megasas -device megasas-gen2 -device
ioh3420 -device nec-usb-xhci

to an unmodified qemu.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20161214195829.18241-1-dgilbert@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2017-01-24 18:00:31 +00:00
..
msi.h pci: Convert msi_init() to Error and fix callers to check it 2016-07-05 13:14:41 +03:00
msix.h msix: make msix_clr_pending() visible for clients 2016-06-02 10:42:09 +08:00
pci_bridge.h Remove unused function declarations 2016-09-15 15:32:22 +03:00
pci_bus.h hw/pci: delay bus_master_enable_region initialization 2016-07-04 14:50:01 +03:00
pci_host.h
pci_ids.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
pci_regs.h pci: Introduce define for PM capability version 1.1 2016-06-02 10:42:09 +08:00
pci-assign.h
pci.h hw/pci: Prepare for AMD IOMMU 2016-09-23 19:03:56 +03:00
pcie_aer.h pcie_aer: support configurable AER capa version 2017-01-10 07:02:52 +02:00
pcie_host.h
pcie_port.h Remove unused function declarations 2016-09-15 15:32:22 +03:00
pcie_regs.h pcie: Add support for PCIe CAP v1 2016-06-02 10:42:26 +08:00
pcie.h PCI/migration merge vmstate_pci_device and vmstate_pcie_device 2017-01-24 18:00:31 +00:00
shpc.h include: Clean up includes 2016-02-23 12:43:05 +00:00
slotid_cap.h