Tomasz Wroblewski
2009-Nov-27  10:36 UTC
[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@citrix.com>
---
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@lists.xensource.com
http://lists.xensource.com/xen-devel
Stefano Stabellini
2009-Nov-27  11:34 UTC
Re: [Xen-devel] [PATCH] libxenlight: fix hvm flag when no hvmloader
On Fri, 27 Nov 2009, Tomasz Wroblewski wrote:> 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@citrix.com> >Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel