Re: [PATCH 4/8] qemu: Allow to undefine a running domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



于 2011年08月19日 21:48, Eric Blake 写道:
On 08/19/2011 08:03 AM, Osier Yang wrote:
---
src/qemu/qemu_driver.c | 22 +++++++++++++---------
1 files changed, 13 insertions(+), 9 deletions(-)

ACK with nit.

VIR_INFO("Undefining domain '%s'", vm->def->name);
- virDomainRemoveInactive(&driver->domains,
- vm);
- vm = NULL;
+
+ /* If the domain is active, keep it running but set it as transient.
+ * domainDestroy and domainShutdown will take care of remove the

s/remove/removing/

Pushed with the nix fixed.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]