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-ia64-devel

RE: [Xen-ia64-devel][PATCH] optimization for windows

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Subject: RE: [Xen-ia64-devel][PATCH] optimization for windows
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Sun, 06 May 2007 08:03:21 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 06 May 2007 07:01:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <51CFAB8CB6883745AE7B93B3E084EBE2AE1EB2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: HP OSLO R&D
References: <51CFAB8CB6883745AE7B93B3E084EBE2AE1EB2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, 2007-04-28 at 10:10 +0800, Xu, Anthony wrote:
> 
> I had been thinking of this issue.
> What I concern is, this optimization is specific to windows.
> So if user sets "guest = windows", and runs linux as guest, 
> This may make guest linux behave strangely, or crash.
> Yes, you can say this is user's fault, but user may complain.
> 
> 
> What's your position?

Hi Anthony,

   I've been thinking about ways to detect which OS is running.  Having
Xen guess based on page sizes of regions seems fairly error prone and
hard to debug if it goes wrong.  A configuration option in the domain
config file is a more manual processes, but should provide a cleaner
interface into Xen to set guest specific optimizations.  At some point
we might be able to make this automatic if we can hook into the ACPI
_OSI method in the GFW.  I don't know if that would be possible.
There's also the _OS method, but nearly every OS reports some flavor of
Windows for that method because it's often the only path through ACPI
that gets tested.  Hopefully the same won't happen to the _OSI
interface.  We'll need to see if upstream is in favor of a guest
specific optimization flag in the config file or has other suggestions
about how to accomplish this.  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


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

<Prev in Thread] Current Thread [Next in Thread>