From: Tomasz Wroblewski Subject: [PATCH] libxenlight: fix hvm flag when no hvmloader Date: Fri, 27 Nov 2009 10:36:24 +0000 Message-ID: <1259318184.3867.21.camel@alva> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 --- 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 */