Re: [Xen-devel] [PATCH 3/3] x86/xen: sync the CMOS RTC as well asthe Xen wallclock

From: John Stultz
Date: Tue May 14 2013 - 11:59:51 EST


On 05/14/2013 12:57 AM, Jan Beulich wrote:
On 14.05.13 at 02:52, John Stultz <john.stultz@xxxxxxxxxx> wrote:
Honestly, it seems a little strange to me. If you're running as dom0,
why does HYPERVISOR_dom0_op() not cause the hypervisor to set the cmos
its virtualizing? This seems to mess with the proper virtualization
layering.
Thy hypervisor tries to control as little system and peripheral devices
as possible, and the CMOS (including the clock) is among those not
controlled by it, but by Dom0.

Huh. So what does calling HYPERVISOR_dom0_op do then?

Either way, I don't have the context to insightfully review this, so I'll want this to get some Acked-bys from additional Xen folks before I queue it.

thanks
-john

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/