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

[Xen-changelog] [xen-unstable] tools/xl: VMs that are started paused shouldn't reboot paused too.



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxx>
# Date 1290540689 0
# Node ID 7c58428f117cbde54cbac5e1916e2683b212c750
# Parent  1579142f2163ac9662f856a0f73a818eea2b52af
tools/xl: VMs that are started paused shouldn't reboot paused too.

Otherwise a VM that's been migrated won't ever reboot cleanly again.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/xl_cmdimpl.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r 1579142f2163 -r 7c58428f117c tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c  Tue Nov 23 19:30:27 2010 +0000
+++ b/tools/libxl/xl_cmdimpl.c  Tue Nov 23 19:31:29 2010 +0000
@@ -1822,6 +1822,9 @@ start:
                          */
                         dom_info->console_autoconnect = 0;
 
+                        /* Some settings only make sense on first boot. */
+                        paused = 0;
+
                         /*
                          * XXX FIXME: If this sleep is not there then domain
                          * re-creation fails sometimes.

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.