vmstate: fix breakage by 7e72abc382b700a72549e8147bdea413534eeedc
authorTeLeMan <geleman@gmail.com>
Wed, 12 May 2010 02:28:51 +0000 (10:28 +0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 22 May 2010 08:39:13 +0000 (08:39 +0000)
commit30c2637e746db7a985721e3b9d171d8a9125f29f
tree97f176459d9a01737b698a0d5f0988fc46e9759a
parent830e4f582a68d1b0e85fc4bc3976267968278ca4
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>
hw/cirrus_vga.c