Skip to contentSkip to conversation

Add parameter to vm.start call

PATCH Applied Stefan Berger 2 participants 2 messages Dec 4, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add parameter to vm.start call

This adds a recently added parameter to the vm.start call.

xen-unstable.hg/tools/xm-test/lib/XmTestLib/XenManagedDomain.py +3 -2
Index: root/xen-unstable.hg/tools/xm-test/lib/XmTestLib/XenManagedDomain.py
===================================================================
@@ -94,12 +94,13 @@ class XenManagedDomain(XenDomain):
         #Only support PV for now.
         self.type = "PV"
 
-    def start(self, noConsole=False):
+    def start(self, noConsole=False, startpaused=False):
         #start the VM
         server = self.server
         if self.vm_uuid:
             try:
-                xapi.execute(server.VM.start, self.session, self.vm_uuid)
+                xapi.execute(server.VM.start, self.session, self.vm_uuid,
+                             startpaused)
             except:
                 raise DomainError("Could not start domain")
         else:

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel