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
..
2016-01-29 15:07:23 +00:00
2016-02-23 10:38:00 +01:00
2016-01-29 15:07:23 +00:00
2016-10-12 14:37:15 +02:00
2016-02-23 12:43:05 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-06-22 12:53:26 +02:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-04-25 12:05:05 +01:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2013-02-19 12:30:05 +01:00
2016-01-29 15:07:23 +00:00
2016-05-23 13:30:03 +02:00
2016-01-29 15:07:23 +00:00
2017-01-24 17:54:47 +00:00