|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xl: Fix accidently waiting for domains to shutdown without --wait option
# HG changeset patch
# User Sander Eikelenboom <linux@eikelenboom>
# Date 1351177494 -3600
# Node ID b6a870378ec2c31f4bdebb8170ccc9c39763e152
# Parent 1883c1d29de97454df8f3b6723f0a853a09f4af6
xl: Fix accidently waiting for domains to shutdown without --wait option
Introduced by changeset 26091: "xl: Add --wait and --all to xl reboot."
Signed-off-by: Sander Eikelenboom <linux@eikelenboom>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
diff -r 1883c1d29de9 -r b6a870378ec2 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Thu Oct 25 14:28:09 2012 +0200
+++ b/tools/libxl/xl_cmdimpl.c Thu Oct 25 16:04:54 2012 +0100
@@ -3774,7 +3774,9 @@ static int main_shutdown_or_reboot(int d
fallback_trigger);
}
- wait_for_domain_deaths(deathws, nb_domain - 1 /* not dom 0 */);
+ if (wait_for_it)
+ wait_for_domain_deaths(deathws, nb_domain - 1 /* not dom 0 */);
+
libxl_dominfo_list_free(dominfo, nb_domain);
} else {
libxl_evgen_domain_death *deathw = NULL;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |