qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH v2] ide: Register vm change state handler on


From: Andreas Färber
Subject: Re: [Qemu-devel] Re: [PATCH v2] ide: Register vm change state handler once only
Date: Fri, 17 Dec 2010 19:54:45 +0100

Am 17.12.2010 um 19:46 schrieb Kevin Wolf:

Am 17.12.2010 19:35, schrieb Andreas Färber:
Am 17.12.2010 um 14:12 schrieb Kevin Wolf:

Am 16.12.2010 16:54, schrieb Stefan Hajnoczi:
We register the vm change state handler in a PCI BAR map() function.
This function can be called multiple times throughout the lifetime
of a
PCI IDE device.  This results in duplicate vm change state handlers
being register, none of which are ever unregistered.

Instead, register the vm change state handler in the device's init
function once and for all.

piix tested, cmd646 and via not tested.

Signed-off-by: Stefan Hajnoczi <address@hidden>

Thanks, applied to the block branch.

This just landed in master and breaks the build due to use of an
undefined variable bm in hw/ide/cmd646.c...

Can you try the patch I just sent?

I just finished an identical patch. :)

Thanks,
Andreas


reply via email to

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