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
commitf05da0aa996e76ecbd32ab58c66bc207c4a1cfec (patch)
tree67948ea42c3f068938302420f00a179c5dd4bb65 /tools/libxl/libxl_types.idl
parent80c9b2be515f6f3b7fb5467c4aa937c62e0ab53e (diff)
downloadxen-f05da0aa996e76ecbd32ab58c66bc207c4a1cfec.tar.gz
xen-f05da0aa996e76ecbd32ab58c66bc207c4a1cfec.tar.bz2
xen-f05da0aa996e76ecbd32ab58c66bc207c4a1cfec.zip
libxl: use defbool for graphics related options
This allows them 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>
Diffstat (limited to 'tools/libxl/libxl_types.idl')
-rw-r--r--tools/libxl/libxl_types.idl20
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl
index 2810e36656..49df300457 100644
--- a/tools/libxl/libxl_types.idl
+++ b/tools/libxl/libxl_types.idl
@@ -129,31 +129,31 @@ libxl_shutdown_reason = Enumeration("shutdown_reason", [
# Complex libxl types
#
libxl_vnc_info = Struct("vnc_info", [
- ("enable", bool),
+ ("enable", libxl_defbool),
# "address:port" that should be listened on
("listen", string),
("passwd", string),
("display", integer),
# If set then try to find an unused port
- ("findunused", bool),
+ ("findunused", libxl_defbool),
])
libxl_spice_info = Struct("spice_info", [
- ("enable", bool),
+ ("enable", libxl_defbool),
# At least one of spice port or spicetls_post must be given
("port", integer),
("tls_port", integer),
# Interface to bind to
("host", string),
# enable client connection with no password
- ("disable_ticketing", bool),
+ ("disable_ticketing", libxl_defbool),
("passwd", string),
- ("agent_mouse", bool),
+ ("agent_mouse", libxl_defbool),
])
libxl_sdl_info = Struct("sdl_info", [
- ("enable", bool),
- ("opengl", bool),
+ ("enable", libxl_defbool),
+ ("opengl", libxl_defbool),
("display", string),
("xauthority", string),
])
@@ -268,15 +268,15 @@ libxl_domain_build_info = Struct("domain_build_info",[
("timer_mode", libxl_timer_mode),
("nested_hvm", libxl_defbool),
("incr_generationid",libxl_defbool),
- ("nographic", bool),
- ("stdvga", bool),
+ ("nographic", libxl_defbool),
+ ("stdvga", libxl_defbool),
("vnc", libxl_vnc_info),
# keyboard layout, default is en-us keyboard
("keymap", string),
("sdl", libxl_sdl_info),
("spice", libxl_spice_info),
- ("gfx_passthru", bool),
+ ("gfx_passthru", libxl_defbool),
("serial", string),
("boot", string),