[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Keir, how about using the attached patch as workaround for xen 3.0.3.
With it 64 bit win2003 UP and SMP can work fine, 64bit SMP can go hct stress 
for 20 hours.

Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
Signed-off-by: Eddie Dong <eddie.dong@xxxxxxxxx>


thanks
-Xin



>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
>[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
>Yang, Xiaowei
>Sent: 2006年9月28日 22:03
>To: Keir Fraser
>Cc: Mallick, Asit K; xen-devel@xxxxxxxxxxxxxxxxxxx; Nakajima, Jun
>Subject: RE: [Xen-devel] [PATCH] Move RTC from Qemu to HV
>
>>Xen has a view of UTC, kept up to date by domain0. There is also
>facility
>>already to set a per-domain offset from UTC 
>(XEN_DOMCTL_settimeoffset).
>So
>>Xen is quite capable of setting all time fields itself.
>>
>>As for the rest of the CMOS fields, I believe that they only contain
>some
>>basic info like boot order? This is only derived by qemu from
>command-line
>>switches -- we could make xend push down initialiser values instead.
>Maybe
>>only pushing implementation of time-related CMOS bytes[*] to 
>Xen in the
>>first instance does make sense though...
>>
>>[*] That's more than 10 bytes though, right? There are status and
>control
>>registers at indexes 0xa-0xd?
>
>
>Keir,
>This is the revised patch, which adopts your suggestion to handle CMOS
>ram. No CMOS data in the shared io page any more. RTC in HV maintains
>the first 14 (10 is a typo:) time/interrupt related bytes. Initial CMOS
>date equals to Xen wallclock + time_offset_seconds. Qemu handles the
>rest CMOS ram. 
>
>The patch also considers SVM guest. For Ia64 part, as it has no problem
>as x86, the patch doesn't affect it.
>
>Thanks, 
>Xiaowei
>

Attachment: win2003_halt_workaround_for_xen_3.0.3.patch
Description: win2003_halt_workaround_for_xen_3.0.3.patch

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.