]> xenbits.xensource.com Git - xenclient/toolstack.git/commitdiff
respect the hvm flags instead of creating hvm all the time.
authorVincent Hanquez <vincent.hanquez@eu.citrix.com>
Mon, 15 Jun 2009 16:55:56 +0000 (17:55 +0100)
committerVincent Hanquez <vincent.hanquez@eu.citrix.com>
Mon, 15 Jun 2009 16:55:56 +0000 (17:55 +0100)
xenvm/vmact.ml

index 558f8c64914e167f5cc3052c852291859c4f9a8a..c87ef3fb58c3c0236090387cbb34facba8384f46 100644 (file)
@@ -316,8 +316,8 @@ let create_vm xc xs state =
                );
                let info = {
                        Domain.ssidref = 0l;
-                       Domain.hvm = true;
-                       Domain.hap = true;
+                       Domain.hvm = state.vm_cfg.hvm;
+                       Domain.hap = state.vm_cfg.hvm;
                        Domain.name = "";
                        Domain.platformdata = state.vm_cfg.platform;
                        Domain.xsdata = [];