On 29/05/13 08:47, Jan Beulich wrote:Ok. Zapped from my tree.Yes, that makes sense. John, don't apply this one yet, thanks.Can't you achieve the same effect in a cleaner way by overriding@@ -199,28 +201,59 @@ static void xen_get_wallclock(struct timespec *now)On 28.05.13 at 20:22, David Vrabel <david.vrabel@xxxxxxxxxx> wrote:
static int xen_set_wallclock(const struct timespec *now)
{
- struct xen_platform_op op;
- int ret;
-
/* do nothing for domU */
if (!xen_initial_domain())
return -1;
- /* Set the Xen wallclock. */
+ /* Set the hardware RTC. */
+ return mach_set_rtc_mmss(now);
+
+}
x86_platform.set_wallclock only in the non-init-domain case?