Skip to contentSkip to conversation

tools/xl: VMs that are started paused shouldn't reboot paused too

PATCH In review Tim Deegan 2 participants 2 messages Nov 22, 2010 – Nov 23, 2010

lore
Share & tools
lore

Tim Deegan

author
#0 lore raw

PATCH 1/1 tools/xl: VMs that are started paused shouldn't reboot paused too

# HG changeset patch
# User Tim Deegan <[email protected]>
# Date 1290188922 0
# Node ID d27297705f907ef709200d788747ba88e45139f3
# Parent d95918033f24ce89b1f3b2f15031c247bc8e4161 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.

tools/libxl/xl_cmdimpl.c +3 -0
diff -r d95918033f24 -r d27297705f90 tools/libxl/xl_cmdimpl.c
@@ -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.
#1 lore raw

Tim Deegan writes ("[Xen-devel] [PATCH] tools/xl: VMs that are started paused shouldn't reboot paused too"):

Quoted 2 lines

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.

Well spotted, thanks.

Ian.