WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Move RTC from Qemu to HV

To: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Move RTC from Qemu to HV
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 26 Sep 2006 16:30:38 +0100
Delivery-date: Tue, 26 Sep 2006 08:30:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <8C834404208B254EAD4E532C94859869056AA4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbhfSgZ1zf5Dd22R7mr0rlT/3BpdwAA4+OP
Thread-topic: [Xen-devel] [PATCH] Move RTC from Qemu to HV
User-agent: Microsoft-Entourage/11.2.5.060620
This is *definitely* the way to go, but we won't apply a patch of this size
until development reopens for 3.0.4. We want to focus on 3.0.3 stabilisation
for the next week or two.

Also it'd be nice to not have any RTC/CMOS code built into the device model
at all. Really all the initial state could be filled out from xend, and that
would be cleaner. A patch which puts CMOS data in the shared io page isn't
going to get checked in. :-)

 -- Keir

On 26/9/06 16:05, "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx> wrote:

> As we know some version of Windows (e.g 32bit Vista and 64bit Win2k3)
> use RTC as main periodic timer at 64HZ. Currently RTC is in Qemu which
> means its irq may be potentially lost due to Qemu not got scheduled on
> time. And it's not sync with Guest TSC (adjusted by TSC_OFFSET). This
> will cause many problems, like HVM time goes slow; TSC can't be measured
> by cross referring to RTC time.
> This patch moves RTC from Qemu to HV, to resolve these problems. Since
> we still need Qemu to fill out RTC ram with (local)time, fd/hd
> information, HV will copy this ram from Qemu at startup and then
> maintains it by itself.
> Another issue resolved by this patch is Windows which use RTC as
> periodic timer hangs at login screen because there are no resources to
> wait it up after it calls halt. After moving, RTC timer will wake it.
> One extra benefit is that Vista responses faster. It can be explained by
> fewer IO port access cost and more accurate RTC time, which Vista may
> use to refresh screen.
> 
> Thanks, 
> Xiaowei 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel