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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCHl] localtime basis for paravirtualized guests

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCHl] localtime basis for paravirtualized guests
From: "Bruce Rogers" <BROGERS@xxxxxxxxxx>
Date: 2006年6月20日 17:20:43 -0600
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Delivery-date: 2006年6月20日 16:21:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <268cbf4ac7bb43efa0994df4a124a19d@xxxxxxxxxxxx>
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>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D4B9F7C@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <4428F384.092E.0048.1@xxxxxxxxxx> <442D2D2D.092E.0048.1@xxxxxxxxxx> <268cbf4ac7bb43efa0994df4a124a19d@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Attached please find a patch (against unstable tree) which provides
some localtime support for paravirtualized guests. It is quite
minimal
in its approach, satisfying the purposes of the paravirtualized
NetWare operating system as well as any others that expect the time
base to be provided in localtime.
I should point out however that this by itself does not allow a
localtime
time base to be used for xenolinux. That support would require
additional
changes to Linux (eg a Xen aware implementation of /dev/rtc & etc.),
and
should probably be based on a more flexible and thorough implementation
of
non-UTC guest time bases than what this patch provides. Nevertheless,
this patch is functionaly equivalent to what is being done SLES 10's
Xen
implementation (but with SLES10 being based on testing tree), so I felt
it
should be submitted as is, with a more comprehensive approach
submitted
separately.
Signed-off-by: Bruce Rogers <brogers@xxxxxxxxxx>
- Bruce
>>> On 4/5/2006 at 8:03 AM, in message
<268cbf4ac7bb43efa0994df4a124a19d@xxxxxxxxxxxx>, Keir Fraser
<Keir.Fraser@xxxxxxxxxxxx> wrote:
> On 31 Mar 2006, at 21:22, Bruce Rogers wrote:
>
>> This patch allows the localtime parameter to be used for 
>> para-virtualized guests.
>> Some paravirtualized guests may need to start with a local time
basis 
>> instead of UTC.
>> This patch provides for that need. Please review and apply.
>
> I've just checked in a patch to provide a clean wallclock update 
> interface from common Xen code. Please re-send based on that patch. 
> Your dom0_op implementation should modify d->time_offset_seconds 
> directly and then call update_domain_wallclock_time(d).
>
> Apart from that, the time_offset_seconds field in dom0_op.h should be
> type int32_t (we don't use s32 in public headers).
>
> -- Keir
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx 
> http://lists.xensource.com/xen-devel 

Attachment: xen-localtime.diff
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Xen and SCSI , Jeff Garzik
Next by Date: Re: [Xen-devel] Xen and SCSI , FUJITA Tomonori
Previous by Thread: [Xen-devel] Xen and SCSI , Jeff Garzik
Next by Thread: Re: [Xen-devel] [PATCHl] localtime basis for paravirtualized guests , B Thomas
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /