xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xl: field 'type' not set in dm_info
@ 2010-03-25 12:03 Jean-Edouard LEJOSNE
  0 siblings, 0 replies; only message in thread
From: Jean-Edouard LEJOSNE @ 2010-03-25 12:03 UTC (permalink / raw)
  To: xen-devel

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

Acked-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>

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@citrix.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-25 12:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-25 12:03 [PATCH] xl: field 'type' not set in dm_info Jean-Edouard LEJOSNE

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).