debuggers.hg

changeset 21114:71dddee38e65

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>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Mar 26 08:43:36 2010 +0000 (2010-03-26)
parents 18f4db5f72d7
children 17fa3cd04361
files tools/libxl/xl.c
line diff
     1.1 --- a/tools/libxl/xl.c	Thu Mar 25 10:01:05 2010 +0000
     1.2 +++ b/tools/libxl/xl.c	Fri Mar 26 08:43:36 2010 +0000
     1.3 @@ -661,6 +661,8 @@ skip_pci:
     1.4              dm_info->usbdevice = strdup(buf);
     1.5      }
     1.6  
     1.7 +    dm_info->type = c_info->hvm ? XENFV : XENPV;
     1.8 +
     1.9      xlu_cfg_destroy(config);
    1.10  }
    1.11