qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 02/55] block: Reset device model callbacks on de


From: Christoph Hellwig
Subject: Re: [Qemu-devel] [PATCH 02/55] block: Reset device model callbacks on detach
Date: Mon, 25 Jul 2011 14:27:47 +0200
User-agent: Mutt/1.5.17 (2007-11-01)

On Wed, Jul 20, 2011 at 06:23:36PM +0200, Markus Armbruster wrote:
> BlockDriverState members change_cb and change_opaque are initially
> null.  The device model may set them, with bdrv_set_change_cb().  If
> the device model gets detached (hot unplug), they're left dangling.
> Only safe because device hot unplug automatically destroys the
> BlockDriverState.  But that's a questionable feature, best not to rely
> on it.

Looks good,

Reviewed-by: Christoph Hellwig <address@hidden>




reply via email to

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