Re: [libvirt] [PATCH] do not lock vm while allocating memory

2011-04-02 Thread Wen Congyang
于 2011-4-2 0:24, Eric Blake 写道: On 03/30/2011 01:46 AM, Wen Congyang wrote: There is no need to lock vm while allocating memory. If allocating memory failed, we forgot to unlock vm. --- src/qemu/qemu_process.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

Re: [libvirt] [PATCH] do not lock vm while allocating memory

2011-04-01 Thread Eric Blake
On 03/30/2011 01:46 AM, Wen Congyang wrote: There is no need to lock vm while allocating memory. If allocating memory failed, we forgot to unlock vm. --- src/qemu/qemu_process.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_process.c

[libvirt] [PATCH] do not lock vm while allocating memory

2011-03-30 Thread Wen Congyang
There is no need to lock vm while allocating memory. If allocating memory failed, we forgot to unlock vm. --- src/qemu/qemu_process.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c index e31e1b4..e74e0f1 100644 ---