[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] 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.

Signed-off-by: Tomasz Wroblewski <tomasz.wroblewski@xxxxxxxxxx>

---

diff -r d0b030008814 tools/libxl/xl.c
--- a/tools/libxl/xl.c  Fri Nov 27 08:09:26 2009 +0000
+++ b/tools/libxl/xl.c  Fri Nov 27 10:13:42 2009 +0000
@@ -268,6 +268,8 @@
             c_info->hvm = 1;
         else
             c_info->hvm = 0;
+    } else {
+        c_info->hvm = 0;
     }
 
     /* hap is missing */



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.