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
2014-06-23 11:00:12 -04:00
2014-09-04 17:39:07 +01:00
2014-08-26 13:52:15 +01:00
2014-09-02 22:38:16 +04:00
2014-08-18 14:39:10 -04:00
2014-08-24 13:16:32 +04:00
2014-08-29 18:40:04 +01:00
2014-06-16 13:24:35 +02:00
2014-08-29 10:46:58 +01:00
2014-08-29 10:46:58 +01:00
2014-08-29 10:46:58 +01:00
2014-06-23 11:12:28 -04:00
2014-08-29 10:46:58 +01:00
2014-07-14 12:03:21 +02:00
2014-09-02 22:38:16 +04:00
2014-06-19 18:44:21 +03:00
2014-09-09 13:13:05 +02:00
2014-06-19 16:41:54 +03:00
2014-08-15 16:37:17 +01:00
2014-08-15 16:37:17 +01:00
2014-06-23 19:09:50 +02:00
2014-08-18 14:39:10 -04:00
2014-08-29 10:48:45 +01:00
2014-08-15 18:44:48 +01:00
2014-09-02 16:07:31 +01:00
2014-08-06 17:53:07 +02:00
2014-08-01 18:30:08 +01:00
2014-07-07 10:37:40 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%