From a7aa47b7e40c1f669e71fa6687c89836c372e9c3 Mon Sep 17 00:00:00 2001 From: Jean Guyader Date: Sun, 30 Aug 2009 01:13:19 +0100 Subject: [PATCH] Pause the vm once is created only if startup = paused. --- xenvm/vmact.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5