diff options
author | TeLeMan <geleman@gmail.com> | 2010-05-12 10:28:51 +0800 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-05-22 08:39:13 +0000 |
commit | ae6b2c4ed956c17456e70efefe13ad0ab7db31de (patch) | |
tree | 97f176459d9a01737b698a0d5f0988fc46e9759a | |
parent | 9848bbf1a8b69cc6a8497b075ce5d171f7c62f1a (diff) | |
download | hqemu-ae6b2c4ed956c17456e70efefe13ad0ab7db31de.zip hqemu-ae6b2c4ed956c17456e70efefe13ad0ab7db31de.tar.gz |
vmstate: fix breakage by 7e72abc382b700a72549e8147bdea413534eeedc
cirrus_post_load() will be executed twice when loading vm states and then the
wrong physical memory will be registered. This issue may lead to crash qemu.
Signed-off-by: TeLeMan <geleman@gmail.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | hw/cirrus_vga.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 9f61a01..ba48289 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -2985,7 +2985,6 @@ static const VMStateDescription vmstate_pci_cirrus_vga = { .version_id = 2, .minimum_version_id = 2, .minimum_version_id_old = 2, - .post_load = cirrus_post_load, .fields = (VMStateField []) { VMSTATE_PCI_DEVICE(dev, PCICirrusVGAState), VMSTATE_STRUCT(cirrus_vga, PCICirrusVGAState, 0, |