Re: [libvirt] [PATCH 3/3] hold an extra reference while handling watchdog event

2011-04-06 Thread Wen Congyang
At 03/30/2011 02:05 PM, Hu Tao Write: On Wed, Mar 30, 2011 at 12:34:49PM +0800, Wen Congyang wrote: If the domain is not persistent, and qemu quited unexpectedly before calling processWatchdogEvent(), vm will be freed and the function processWatchdogEvent() will be dangerous. ---

Re: [libvirt] [PATCH 3/3] hold an extra reference while handling watchdog event

2011-03-30 Thread Hu Tao
On Wed, Mar 30, 2011 at 12:34:49PM +0800, Wen Congyang wrote: If the domain is not persistent, and qemu quited unexpectedly before calling processWatchdogEvent(), vm will be freed and the function processWatchdogEvent() will be dangerous. --- src/qemu/qemu_driver.c | 10 ++

[libvirt] [PATCH 3/3] hold an extra reference while handling watchdog event

2011-03-29 Thread Wen Congyang
If the domain is not persistent, and qemu quited unexpectedly before calling processWatchdogEvent(), vm will be freed and the function processWatchdogEvent() will be dangerous. --- src/qemu/qemu_driver.c | 10 ++ src/qemu/qemu_process.c |4 2 files changed, 10 insertions(+),