aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2006-12-04 19:13:55 +0000
committerEwan Mellor <ewan@xensource.com>2006-12-04 19:13:55 +0000
commit89ebc69e6a6a0ee090c1e04c8a704a1b2ce16eb1 (patch)
tree0fcecc411e65dbf2fe333fd21013f2caaa90bcd7 /tools/xm-test
parentbb34321ece2d83d8b9b76cf3898ed1e0bf5fc8c2 (diff)
downloadxen-89ebc69e6a6a0ee090c1e04c8a704a1b2ce16eb1.tar.gz
xen-89ebc69e6a6a0ee090c1e04c8a704a1b2ce16eb1.tar.bz2
xen-89ebc69e6a6a0ee090c1e04c8a704a1b2ce16eb1.zip
This adds a recently added parameter to the vm.start call.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Diffstat (limited to 'tools/xm-test')
-rw-r--r--tools/xm-test/lib/XmTestLib/XenManagedDomain.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/xm-test/lib/XmTestLib/XenManagedDomain.py b/tools/xm-test/lib/XmTestLib/XenManagedDomain.py
index 94fbe44d3e..1b211fe016 100644
--- a/tools/xm-test/lib/XmTestLib/XenManagedDomain.py
+++ b/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: