xl: Fix accidently waiting for domains to shutdown without --wait option
xl: Fix accidently waiting for domains to shutdown without --wait option
PATCH 1/1 xl: Fix accidently waiting for domains to shutdown without --wait option
From: Sander Eikelenboom <linux@eikelenboom>
Introduced by changeset 26091: "xl: Add --wait and --all to xl reboot."
Signed-off-by Sander Eikelenboom <linux@eikelenboom>
--- tools/libxl/xl_cmdimpl.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
tools/libxl/xl_cmdimpl.c +3 -1
@@ -3774,7 +3774,9 @@ static int main_shutdown_or_reboot(int reboot, int argc, char **argv) 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 ;
Signature · 1 line
1.7.2.5
Ping ?
Quoted 24 lines · you
From: Sander Eikelenboom <linux@eikelenboom>
Introduced by changeset 26091: "xl: Add --wait and --all to xl reboot."
Signed-off-by Sander Eikelenboom <linux@eikelenboom>--- tools/libxl/xl_cmdimpl.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)tools/libxl/xl_cmdimpl.c +3
-1@@ -3774,7 +3774,9 @@ static int main_shutdown_or_reboot(int reboot, int argc, char **argv) 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 ;
[email protected] writes ("[Xen-devel] [PATCH 1/1] xl: Fix accidently waiting for domains to shutdown without --wait option"):
Quoted 5 lines
From: Sander Eikelenboom <linux@eikelenboom>
Introduced by changeset 26091: "xl: Add --wait and --all to xl reboot."
Signed-off-by Sander Eikelenboom <linux@eikelenboom>
Acked-by Ian Jackson <[email protected]>
Committed-by Ian Jackson <[email protected]>