qemu-e2k/hw/pci-host
Pavel Dovgalyuk 2c9ecdeb9f piix: do not set irq while loading vmstate
This patch avoids setting an irq while loading the state of the ISA bridge.
Because the i8259 has not been deserialized yet, raising an interrupt
could bring the system out-of-sync with the migration source.  For example,
the migration source could have masked the interrupt in the i8259. On the
destination, the i8259 device model would not know that yet and would
trigger an interrupt in the CPU.

This patch eliminates setting the irq and just restores the calculated
state fields in post_load function.  Interrupt state will be deserialized
separately through the IRR field of the i8259.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-09-11 12:20:32 +02:00
..
apb.c iommu: add is_write as a parameter to the translate function of MemoryRegionIOMMUOps 2014-08-28 23:10:22 +02:00
bonito.c
grackle.c
Makefile.objs
pam.c pci-host: update uncorresponding description 2014-08-15 18:54:06 +04:00
piix.c piix: do not set irq while loading vmstate 2014-09-11 12:20:32 +02:00
ppce500.c
prep.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
q35.c intel-iommu: add context-cache to cache context-entry 2014-08-28 23:10:22 +02:00
uninorth.c
versatile.c