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][PATCH][RFC] Supporting Enlightened Windows 2008 Server

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel][PATCH][RFC] Supporting Enlightened Windows 2008 Server
From: "Ky Srinivasan" <ksrinivasan@xxxxxxxxxx>
Date: 2008年3月06日 18:06:09 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2008年3月06日 17:06:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080305223827.GI19306@xxxxxxxxxx>
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: <47CED493.E57C.0030.0@xxxxxxxxxx> <20080305222828.GH19306@xxxxxxxxxx> <20080305223827.GI19306@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> On Wed, Mar 5, 2008 at 5:38 PM, in message
<20080305223827.GI19306@xxxxxxxxxx>, "Daniel P. Berrange" <berrange@xxxxxxxxxx>
wrote: 
> On Wed, Mar 05, 2008 at 10:28:28PM +0000, Daniel P. Berrange wrote:
>> On Wed, Mar 05, 2008 at 03:15:19PM -0700, Ky Srinivasan wrote:
>> > I am attaching updated versions of the patches that I posted a couple 
>> > of weeks ago. These have been merged up to the current unstable tip: 
>> > changeset 17186:854b0704962b
>> > 
>> > These patches have been tested on the unstable tip.
>> 
>> I'm not expert enough to comment on the HV extension implementation itself,
>> but in terms of the userspace side, the user visible configuration file 
>> option 'extid=1' is pretty unpleasant. It is akin to a 'magic constant'
>> in C code - no understandable meaning at all.
>> 
>> I'd like to see it accept a named extension type - if its possible to
>> have multiple extensions per guest, then using a list instead of a scalar
>> would be better. So how about something closer to
>> 
>> extensions = [ "win2k8" ]
>
> Or is there some way you can have some super light weight trap / hook
> always loaded, so when Win2k8 makes it first paravirt call, you can
> then automatically enable the full extension ? That could let Xen
> just 'do the right thing' without needing a config param, and without
> having to fully enable the full extension for non-Win2k8 guests.
I considered this. Unfortunately, we have no control on the mechanisms used by 
windows to discover the hypervisor. Furthermore, CPUID leaves used by longhorn 
collide with CPUID leaves used by Xen for supporting hypervisor discovery for 
PV drivers. Since we have no control on what Microsoft may do here, I felt the 
best way might be to tag the guest so that we can interpret the hypercalls, 
CPUID calls and MSR (read/write) calls within the guest namespace.
Regards,
K. Y
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel][PATCH][RFC] Supporting Enlightened Windows 2008 Server , Ky Srinivasan
Next by Date: Re: [Xen-devel][PATCH][RFC] Supporting Enlightened Windows 2008Server , Ky Srinivasan
Previous by Thread: Re: [Xen-devel][PATCH][RFC] Supporting Enlightened Windows 2008 Server , Daniel P. Berrange
Next by Thread: Re: [Xen-devel][PATCH][RFC] Supporting Enlightened Windows 2008 Server , Ky Srinivasan
Indexes: [Date] [Thread] [Top] [All Lists]

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

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