aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_types.idl
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2012-03-01 12:26:15 +0000
committerIan Campbell <ian.campbell@citrix.com>2012-03-01 12:26:15 +0000
commit40efe5366816c6147344fd10902b4c0062980da7 (patch)
tree7d0184eb77c7bcf8a37e893c1649976e202840f5 /tools/libxl/libxl_types.idl
parent88e865b7a63801aaf89ea8125fae9732c0f9abfd (diff)
downloadxen-40efe5366816c6147344fd10902b4c0062980da7.tar.gz
xen-40efe5366816c6147344fd10902b4c0062980da7.tar.bz2
xen-40efe5366816c6147344fd10902b4c0062980da7.zip
libxl: switch device model selection over to libxl_defbool
This allows it to be set via the _init/_setdefault methods. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> [since last v -- ERROR_INVAL on stubdomains + !traditional qemu]
Diffstat (limited to 'tools/libxl/libxl_types.idl')
-rw-r--r--tools/libxl/libxl_types.idl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl
index 49df300457..d93f40143c 100644
--- a/tools/libxl/libxl_types.idl
+++ b/tools/libxl/libxl_types.idl
@@ -240,8 +240,8 @@ libxl_domain_build_info = Struct("domain_build_info",[
("type", libxl_domain_type),
("device_model_version", libxl_device_model_version),
- ("device_model_stubdomain", bool),
- # you set device_model you must set device_model_version too
+ ("device_model_stubdomain", libxl_defbool),
+ # if you set device_model you must set device_model_version too
("device_model", string),
("device_model_ssidref", uint32),