aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test
diff options
context:
space:
mode:
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>2006-12-05 10:01:15 -0700
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>2006-12-05 10:01:15 -0700
commit9d64d3ff835f1b432709856f155cdd60794e7208 (patch)
treeed4d78e424c0e65e483ca30db58c280b018cb145 /tools/xm-test
parent04d0fece67cf8c4e77b370a9e47636a9b6d53798 (diff)
parente65d392f390523b99285af9dbcf31e25027f832a (diff)
downloadxen-9d64d3ff835f1b432709856f155cdd60794e7208.tar.gz
xen-9d64d3ff835f1b432709856f155cdd60794e7208.tar.bz2
xen-9d64d3ff835f1b432709856f155cdd60794e7208.zip
merge with xen-unstable.hg
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: