qemu-e2k/hw/i386
Peter Xu 2811af3b49 intel_iommu: Fix root_scalable migration breakage
When introducing the initial support for scalable mode we added a
new field into vmstate however we blindly migrate that field without
notice.  That'll break migration no matter forward or backward.

The normal way should be that we use something like
VMSTATE_UINT32_TEST() or subsections for the new vmstate field however
for this case of vt-d we can even make it simpler because we've
already migrated all the registers and it'll be fairly simple that we
re-generate root_scalable field from the register values during post
load of the device.

Fixes: fb43cf739e ("intel_iommu: scalable mode emulation")
Reviewed-by: Yi Sun <yi.y.sun@linux.intel.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20190329061422.7926-2-peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-04-02 11:49:14 -04:00
..
kvm ioapic: use TYPE_FOO MACRO than constant string 2019-01-09 11:33:47 +01:00
xen trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
acpi-build.c machine: Move nvdimms state into struct MachineState 2019-03-11 10:44:25 -03:00
acpi-build.h
amd_iommu.c update copyright notice 2019-03-11 16:33:49 +01:00
amd_iommu.h update copyright notice 2019-03-11 16:33:49 +01:00
intel_iommu_internal.h intel_iommu: add scalable-mode option to make scalable mode work 2019-03-12 22:31:21 -04:00
intel_iommu.c intel_iommu: Fix root_scalable migration breakage 2019-04-02 11:49:14 -04:00
Kconfig virtio-vga: only enable for specific boards 2019-03-21 17:42:18 +01:00
kvmvapic.c
Makefile.objs i386: express dependencies with Kconfig 2019-03-07 21:45:53 +01:00
multiboot.c elf: Add optional function ptr to load_elf() to parse ELF notes 2019-02-05 16:50:16 +01:00
multiboot.h
pc_piix.c machine: Move nvdimms state into struct MachineState 2019-03-11 10:44:25 -03:00
pc_q35.c machine: Move nvdimms state into struct MachineState 2019-03-11 10:44:25 -03:00
pc_sysfw.c pc: Support firmware configuration with -blockdev 2019-03-11 22:54:26 +01:00
pc.c i386, acpi: check acpi_memory_hotplug capacity in pre_plug 2019-03-12 22:31:21 -04:00
trace-events trace-events: Delete unused trace points 2019-03-22 16:18:07 +00:00
vmmouse.c
vmport.c
x86-iommu.c