Displaying 1 result from an estimated 1 matches for "91c4bd8".
2012 Apr 13
2
[PATCH] libxl: fix rtc_timeoffset setting
...struct tm *tm;
-
- t = time(NULL);
- tm = localtime(&t);
-
- b_info->rtc_timeoffset += tm->tm_gmtoff;
- }
libxl_defbool_setdefault(&b_info->disable_migrate, false);
diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl_dom.c
index 0bdd654..91c4bd8 100644
--- a/tools/libxl/libxl_dom.c
+++ b/tools/libxl/libxl_dom.c
@@ -65,6 +65,8 @@ int libxl__build_pre(libxl__gc *gc, uint32_t domid,
libxl_ctx *ctx = libxl__gc_owner(gc);
int tsc_mode;
char *xs_domid, *con_domid;
+ uint32_t rtc_timeoffset;
+
xc_domain_max_vcpus(ctx->xc...