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] xl: field 'type' not set in dm_info

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] xl: field 'type' not set in dm_info
From: Jean-Edouard LEJOSNE <jean-edouard.lejosne@xxxxxxxxxx>
Date: Thu, 25 Mar 2010 12:03:01 +0000
Delivery-date: Thu, 25 Mar 2010 05:04:00 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=OAEj6rt+rZrtXd4KWEiZb9rq6eLtySWLsodfWKj3G5g=; b=l9KrC4AphtYujlK5r35BAUcWFZbtQ9B4v0d1A91v5/xKlgdFmqj+8M+QoCJdpYeEHs HIf+w8k/w1GSaLSnOKrQzzO/gPX+ghAsLYQBMbhr959vIg9XVs09wwuBddvquwjBbcsA ir8Il80sR3ywwXmk8LCu3uA5DCVcyh5m3J4IM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; b=n43A14xq+pGyiCR5ifE5L8QUG4FnoJdjSyaS4//r318Mn2dyQEWHWgFs6sustNFOec Ok8x1/2tMrdDjgDrnttOxw6whiK3PqG6iTPTSni1hA+Z+76qUXe1VfnM08wpjs7G4TP1 vprZvt7RhGpOWNBPSXNIpD0Ap6S/UmQz9rfYM=
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
This fixes a bug that makes xl start qemu without the FV/PV specific options.

Acked-by: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>

diff -r 377433a77d70 tools/libxl/xl.c
--- a/tools/libxl/xl.c  Wed Mar 24 11:06:48 2010 +0000
+++ b/tools/libxl/xl.c  Thu Mar 25 11:14:33 2010 +0000
@@ -660,6 +660,8 @@
         if (!xlu_cfg_get_string (config, "usbdevice", &buf))
             dm_info->usbdevice = strdup(buf);
     }
+
+    dm_info->type = (c_info->hvm) ? XENFV : XENPV;

     xlu_cfg_destroy(config);
 }

--
Jean-Edouard LEJOSNE
XenClient Team
jean-edouard.lejosne@xxxxxxxxxx

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] xl: field 'type' not set in dm_info, Jean-Edouard LEJOSNE <=