Re: [libvirt] [PATCH] qemu: Save domain status ASAP after creating qemu process

2011-07-14 Thread Jiri Denemark
On Wed, Jul 13, 2011 at 08:32:21 -0600, Eric Blake wrote: > On 07/13/2011 07:58 AM, Jiri Denemark wrote: > > When creating new qemu process we saved domain status XML only after the > > process was fully setup and running. In case libvirtd was killed before > > the whole process finished, once libv

Re: [libvirt] [PATCH] qemu: Save domain status ASAP after creating qemu process

2011-07-13 Thread Eric Blake
On 07/13/2011 07:58 AM, Jiri Denemark wrote: > When creating new qemu process we saved domain status XML only after the > process was fully setup and running. In case libvirtd was killed before > the whole process finished, once libvirtd started again it didn't know > anything about the new process

[libvirt] [PATCH] qemu: Save domain status ASAP after creating qemu process

2011-07-13 Thread Jiri Denemark
When creating new qemu process we saved domain status XML only after the process was fully setup and running. In case libvirtd was killed before the whole process finished, once libvirtd started again it didn't know anything about the new process and we end up with an orphaned qemu process. Let's s