On 02/03/2011 06:14 AM, Jiri Denemark wrote: > On Wed, Feb 02, 2011 at 11:37:37 -0700, Eric Blake wrote: >> * src/qemu/qemu_driver.c (qemudShutdownVMDaemon): Check that vm is >> still active. >> Reported by Wen Congyang as follows: >> >> --- >> +++ b/src/qemu/qemu_driver.c >> @@ -2991,6 +2991,11 @@ static void qemudShutdownVMDaemon(struct qemud_driver *driver, >> VIR_DEBUG("Shutting down VM '%s' pid=%d migrated=%d", >> vm->def->name, vm->pid, migrated); >> >> + if (!virDomainObjIsActive(vm)) { >> + VIR_DEBUG("VM '%s' not active", vm->def->name); >> + return; >> + } >> + > > Looks like the solution Dan was asking for... ACK Thanks; pushed. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list