Re: [Qemu-devel] [PATCH 1/5] memory: add ref/unref interface for MemroyRegionOps

2013-04-11 Thread liu ping fan
On Thu, Apr 11, 2013 at 5:49 PM, Stefan Hajnoczi wrote: > On Mon, Apr 01, 2013 at 04:20:30PM +0800, Liu Ping Fan wrote: >> From: Liu Ping Fan >> >> This pair of interface are optinal, except for those device which is >> used outside the biglock's protection for hot unplug. > > Not sure if this co

Re: [Qemu-devel] [PATCH 1/5] memory: add ref/unref interface for MemroyRegionOps

2013-04-11 Thread Stefan Hajnoczi
On Mon, Apr 01, 2013 at 04:20:30PM +0800, Liu Ping Fan wrote: > From: Liu Ping Fan > > This pair of interface are optinal, except for those device which is > used outside the biglock's protection for hot unplug. Not sure if this comment is true. Memory unplug safety is not about the big lock, i

[Qemu-devel] [PATCH 1/5] memory: add ref/unref interface for MemroyRegionOps

2013-04-01 Thread Liu Ping Fan
From: Liu Ping Fan This pair of interface are optinal, except for those device which is used outside the biglock's protection for hot unplug. Currently, HostMem used by virtio-blk dataplane is outside biglock, so the RAM device should implement this. Signed-off-by: Liu Ping Fan --- include/exe