Re: [PATCH] kvm tools: Wait for all VCPU threads to exit while rebooting

2011-08-11 Thread Sasha Levin
On Thu, 2011-08-11 at 13:02 +0300, Pekka Enberg wrote: > On Thu, Aug 11, 2011 at 12:47 PM, Sasha Levin wrote: > > This patch changes kvm_cpu__reboot() behaviour to block until all VCPU > > threads have ended, this allows us to assume that the guest is stopped > > when the function has returned. >

Re: [PATCH] kvm tools: Wait for all VCPU threads to exit while rebooting

2011-08-11 Thread Pekka Enberg
On Thu, Aug 11, 2011 at 12:47 PM, Sasha Levin wrote: > This patch changes kvm_cpu__reboot() behaviour to block until all VCPU > threads have ended, this allows us to assume that the guest is stopped > when the function has returned. > > This fixes errors on close caused by releasing KVM_RUN struct