[libvirt] [PATCH] Fix cleanup on VM state after failed QEMU startup

2011-02-14 Thread Daniel P. Berrange
Commit 9962e406c664ed5521f5aca500c860a331cb3979 introduced a problem where if the VM failed to startup, it would not be correctly cleaned up. Amongst other things the SELinux security label would not be removed, which prevents the VM from ever starting again. The virDomainIsActive() check at the

Re: [libvirt] [PATCH] Fix cleanup on VM state after failed QEMU startup

2011-02-14 Thread Wen Congyang
At 02/14/2011 05:38 PM, Daniel P. Berrange Write: Commit 9962e406c664ed5521f5aca500c860a331cb3979 introduced a problem where if the VM failed to startup, it would not be correctly cleaned up. Amongst other things the SELinux security label would not be removed, which prevents the VM from ever

Re: [libvirt] [PATCH] Fix cleanup on VM state after failed QEMU startup

2011-02-14 Thread Daniel P. Berrange
On Mon, Feb 14, 2011 at 06:01:49PM +0800, Wen Congyang wrote: At 02/14/2011 05:38 PM, Daniel P. Berrange Write: Commit 9962e406c664ed5521f5aca500c860a331cb3979 introduced a problem where if the VM failed to startup, it would not be correctly cleaned up. Amongst other things the SELinux

Re: [libvirt] [PATCH] Fix cleanup on VM state after failed QEMU startup

2011-02-14 Thread Daniel Veillard
On Mon, Feb 14, 2011 at 09:38:37AM +, Daniel P. Berrange wrote: Commit 9962e406c664ed5521f5aca500c860a331cb3979 introduced a problem where if the VM failed to startup, it would not be correctly cleaned up. Amongst other things the SELinux security label would not be removed, which prevents