]> xenbits.xensource.com Git - xen.git/commitdiff
xl: field 'type' not set in dm_info
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 26 Mar 2010 08:43:36 +0000 (08:43 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 26 Mar 2010 08:43:36 +0000 (08:43 +0000)
This fixes a bug that makes xl start qemu without the FV/PV specific
options.

From: Jean-Edouard LEJOSNE <jean-edouard.lejosne@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Acked-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
tools/libxl/xl.c

index 2e23da3307ed94a606c7062b3fa60a577c92ffef..8518e8fd0ed4d8237e1365e2f956b95fba9cda86 100644 (file)
@@ -661,6 +661,8 @@ skip_pci:
             dm_info->usbdevice = strdup(buf);
     }
 
+    dm_info->type = c_info->hvm ? XENFV : XENPV;
+
     xlu_cfg_destroy(config);
 }