ia64/xen-unstable

changeset 12791:a2618d3912e7

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

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Ewan Mellor <ewan@xensource.com>
date Mon Dec 04 19:13:55 2006 +0000 (2006-12-04)
parents 897bb9b7ed06
children 7df4d8cfba3b
files tools/xm-test/lib/XmTestLib/XenManagedDomain.py
line diff
     1.1 --- a/tools/xm-test/lib/XmTestLib/XenManagedDomain.py	Mon Dec 04 18:05:32 2006 +0000
     1.2 +++ b/tools/xm-test/lib/XmTestLib/XenManagedDomain.py	Mon Dec 04 19:13:55 2006 +0000
     1.3 @@ -94,12 +94,13 @@ class XenManagedDomain(XenDomain):
     1.4          #Only support PV for now.
     1.5          self.type = "PV"
     1.6  
     1.7 -    def start(self, noConsole=False):
     1.8 +    def start(self, noConsole=False, startpaused=False):
     1.9          #start the VM
    1.10          server = self.server
    1.11          if self.vm_uuid:
    1.12              try:
    1.13 -                xapi.execute(server.VM.start, self.session, self.vm_uuid)
    1.14 +                xapi.execute(server.VM.start, self.session, self.vm_uuid,
    1.15 +                             startpaused)
    1.16              except:
    1.17                  raise DomainError("Could not start domain")
    1.18          else: