qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH][RESEND] vmstate: fix breakage by 7e72abc382b70


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH][RESEND] vmstate: fix breakage by 7e72abc382b700a72549e8147bdea413534eeedc
Date: Sat, 22 May 2010 09:30:00 +0000

Thanks, applied.

On Wed, May 12, 2010 at 2:28 AM, TeLeMan <address@hidden> wrote:
> 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 <address@hidden>
> ---
>  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 9dfe76a..262ba9c 100644
> --- a/hw/cirrus_vga.c
> +++ b/hw/cirrus_vga.c
> @@ -3017,7 +3017,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,
> --
> SUN OF A BEACH
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]