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

[Xen-changelog] [xen-unstable] This adds a recently added parameter to the vm.start call.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID a2618d3912e7be3eb01e1afc116d7f5d5ec209ff
# Parent  897bb9b7ed0669c24a7ec990b96481563281511f
This adds a recently added parameter to the vm.start call.

Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
---
 tools/xm-test/lib/XmTestLib/XenManagedDomain.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -r 897bb9b7ed06 -r a2618d3912e7 
tools/xm-test/lib/XmTestLib/XenManagedDomain.py
--- a/tools/xm-test/lib/XmTestLib/XenManagedDomain.py   Mon Dec 04 18:05:32 
2006 +0000
+++ b/tools/xm-test/lib/XmTestLib/XenManagedDomain.py   Mon Dec 04 19:13:55 
2006 +0000
@@ -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-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®.