Re: [libvirt] [PATCH RESEND] qemu: Remove inactive vm when failed to start it

2017-07-10 Thread John Ferlan
On 06/25/2017 10:56 PM, Yi Wang wrote: > Libvirt forgets to remove inactive vm when failed to start a defined vm. > That may result in residual domain in driver->domains on such condition: > during the process of starting a vm, undefine it, and qemu exit because > of some exception. As we undefin

Re: [libvirt] [PATCH RESEND] qemu: Remove inactive vm when failed to start it

2017-07-03 Thread wang.yi59
Hi all, Could someone review my patch please? > Libvirt forgets to remove inactive vm when failed to start a defined vm. > That may result in residual domain in driver->domains on such condition: > during the process of starting a vm, undefine it, and qemu exit because > of some exception.

[libvirt] [PATCH RESEND] qemu: Remove inactive vm when failed to start it

2017-06-25 Thread Yi Wang
Libvirt forgets to remove inactive vm when failed to start a defined vm. That may result in residual domain in driver->domains on such condition: during the process of starting a vm, undefine it, and qemu exit because of some exception. As we undefined the vm successfully, the vm->persistent was se