From: Jean Guyader Date: Sun, 30 Aug 2009 00:13:19 +0000 (+0100) Subject: Pause the vm once is created only if startup = paused. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a7aa47b7e40c1f669e71fa6687c89836c372e9c3;p=xenclient%2Ftoolstack.git Pause the vm once is created only if startup = paused. --- diff --git a/xenvm/vmact.ml b/xenvm/vmact.ml index 38f73fd..6a41563 100644 --- a/xenvm/vmact.ml +++ b/xenvm/vmact.ml @@ -478,7 +478,7 @@ let start_vm xc xs state = create_vm xc xs state; build_vm xc xs state from_scratch false; - if cfg.startup = StartupStart then ( + if cfg.startup <> StartupPause then ( try Domain.unpause ~xc state.vm_domid; change_vmstate state VmRunning;