Skip to contentSkip to conversation

libxenlight: fix hvm flag when no hvmloader

PATCH In review Tomasz Wroblewski 2 participants 2 messages Nov 27, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxenlight: fix hvm flag when no hvmloader

Hello all,

I'm new here and likely to do some work on libxenlight as the intention is to use it for XenClient (which is what I primarily work on). So here goes, my first patch! This patch fixes hvm flag to not be set when hvmloader is not specified in config file.

---

tools/libxl/xl.c +2 -0
diff -r d0b030008814 tools/libxl/xl.c
@@ -268,6 +268,8 @@
             c_info->hvm = 1;
         else
             c_info->hvm = 0;
+    } else {
+        c_info->hvm = 0;
     }
 
     /* hap is missing */