WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] libxenlight: fix hvm flag when no hvmloader

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] libxenlight: fix hvm flag when no hvmloader
From: Tomasz Wroblewski <tomasz.wroblewski@xxxxxxxxxx>
Date: Fri, 27 Nov 2009 10:36:24 +0000
Delivery-date: Fri, 27 Nov 2009 02:35:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>