aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-03-26 08:43:36 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-03-26 08:43:36 +0000
commit682d29d954ed1e35bdc37833ccbddac5ec5a14d5 (patch)
tree55118c19bcca44bdabc608683e1c0b024afcbccc
parent024ce79aea88be56dae38cf54e054e6d354bb585 (diff)
downloadxen-682d29d954ed1e35bdc37833ccbddac5ec5a14d5.tar.gz
xen-682d29d954ed1e35bdc37833ccbddac5ec5a14d5.tar.bz2
xen-682d29d954ed1e35bdc37833ccbddac5ec5a14d5.zip
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@citrix.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com> Acked-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
-rw-r--r--tools/libxl/xl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c
index 2e23da3307..8518e8fd0e 100644
--- a/tools/libxl/xl.c
+++ b/tools/libxl/xl.c
@@ -661,6 +661,8 @@ skip_pci:
dm_info->usbdevice = strdup(buf);
}
+ dm_info->type = c_info->hvm ? XENFV : XENPV;
+
xlu_cfg_destroy(config);
}