[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.