aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxl_types.idl
diff options
context:
space:
mode:
authorLin Ming <mlin@ss.pku.edu.cn>2012-04-02 17:32:39 +0100
committerLin Ming <mlin@ss.pku.edu.cn>2012-04-02 17:32:39 +0100
commit6db51261126cfaf84c0c1b771ea5f8d116e8389e (patch)
tree63da64047d55815167f31259828d77c48ba6aa93 /tools/libxl/libxl_types.idl
parentac84df4793663965b12462d06e38eee03ec36891 (diff)
downloadxen-6db51261126cfaf84c0c1b771ea5f8d116e8389e.tar.gz
xen-6db51261126cfaf84c0c1b771ea5f8d116e8389e.tar.bz2
xen-6db51261126cfaf84c0c1b771ea5f8d116e8389e.zip
libxl: support for "rtc_timeoffset" and "localtime"
Implement "rtc_timeoffset" and "localtime" options compatible as xm. rtc_timeoffset is the offset between host time and guest time. localtime means to specify whether the emulted RTC appears as UTC or is offset by the host. Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Lin Ming <mlin@ss.pku.edu.cn> Committed-by: Ian Jackson <ian.jackson.citrix.com> --- docs/man/xl.cfg.pod.5 | 8 ++++++++ tools/libxl/libxl_create.c | 11 +++++++++++ tools/libxl/libxl_dom.c | 3 +++ tools/libxl/libxl_types.idl | 2 ++ tools/libxl/xl_cmdimpl.c | 5 +++++ 5 files changed, 29 insertions(+), 0 deletions(-)
Diffstat (limited to 'tools/libxl/libxl_types.idl')
-rw-r--r--tools/libxl/libxl_types.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl
index 413a1a6efc..09089b219f 100644
--- a/tools/libxl/libxl_types.idl
+++ b/tools/libxl/libxl_types.idl
@@ -238,6 +238,8 @@ libxl_domain_build_info = Struct("domain_build_info",[
("target_memkb", MemKB),
("video_memkb", MemKB),
("shadow_memkb", MemKB),
+ ("rtc_timeoffset", uint32),
+ ("localtime", libxl_defbool),
("disable_migrate", libxl_defbool),
("cpuid", libxl_cpuid_policy_list),