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-changelog

[Xen-changelog] [xen-unstable] xl: field 'type' not set in dm_info

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xl: field 'type' not set in dm_info
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 26 Mar 2010 01:55:12 -0700
Delivery-date: Fri, 26 Mar 2010 01:55:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1269593016 0
# Node ID 71dddee38e651d2e140a0d4d0623d1e7293d7178
# Parent  18f4db5f72d756dda30e28d5872d91d35fdf9f0c
xl: field 'type' not set in dm_info

This fixes a bug that makes xl start qemu without the FV/PV specific
options.

From: Jean-Edouard LEJOSNE <jean-edouard.lejosne@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
Acked-by: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
---
 tools/libxl/xl.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 18f4db5f72d7 -r 71dddee38e65 tools/libxl/xl.c
--- a/tools/libxl/xl.c  Thu Mar 25 10:01:05 2010 +0000
+++ b/tools/libxl/xl.c  Fri Mar 26 08:43:36 2010 +0000
@@ -660,6 +660,8 @@ skip_pci:
         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);
 }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xl: field 'type' not set in dm_info, Xen patchbot-unstable <=