[libvirt] [PATCH v2] qemu: Use ShutdownVMDaemon for all startup cleanup paths

2010-05-20 Thread Cole Robinson
The current cleanup: in StartVMDaemon path is a poor duplication. qemuShutdownVMDaemon can handle teardown for inactive VMs, so let's use it. v2: Remove old abort: label, only use cleanup: Signed-off-by: Cole Robinson crobi...@redhat.com --- src/qemu/qemu_driver.c | 37

Re: [libvirt] [PATCH v2] qemu: Use ShutdownVMDaemon for all startup cleanup paths

2010-05-20 Thread Eric Blake
On 05/20/2010 09:54 AM, Cole Robinson wrote: The current cleanup: in StartVMDaemon path is a poor duplication. qemuShutdownVMDaemon can handle teardown for inactive VMs, so let's use it. v2: Remove old abort: label, only use cleanup: ACK; looks nicer. -- Eric Blake ebl...@redhat.com

Re: [libvirt] [PATCH v2] qemu: Use ShutdownVMDaemon for all startup cleanup paths

2010-05-20 Thread Cole Robinson
On 05/20/2010 03:01 PM, Eric Blake wrote: On 05/20/2010 09:54 AM, Cole Robinson wrote: The current cleanup: in StartVMDaemon path is a poor duplication. qemuShutdownVMDaemon can handle teardown for inactive VMs, so let's use it. v2: Remove old abort: label, only use cleanup: ACK; looks