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] [RFC][PATCH] [RESEND] support special guest optimis

To: "Dietmar Hahn" <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>, "Alex Williamson" <alex.williamson@xxxxxx>
Subject: RE: [Xen-ia64-devel] [RFC][PATCH] [RESEND] support special guest optimisations in the hypervisor
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Wed, 4 Jul 2007 13:10:38 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 03 Jul 2007 22:08:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200707031001.44043.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Ace9SGmISdN8rFOrQYeHCCzy2aLxwAArVzAg
Thread-topic: [Xen-ia64-devel] [RFC][PATCH] [RESEND] support special guest optimisations in the hypervisor
>From: Dietmar Hahn [mailto:dietmar.hahn@xxxxxxxxxxxxxxxxxxx]
>Sent: 2007年7月3日 16:02
>To: Alex Williamson
>Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx; Xu, Anthony
>I had a look at this code (didn't do this before because I have no vti
>machine). Everywhere GOS_WINDOWS() is currently used a opt_feature can be
>used.
>First question: Should we add 2 opt_features, one for both region 4 and region
>5, or one for each.
>Second question: would having arguments to this feature calls make sense?

GOS_WINDOWS is used for HVM, it is not convenient for HVM to use hypercall.
At least, I don’t know where to put this hypercall inside guest OS, we can't 
modify it .
For domU and dom0, it is preferred to use hypercall.

While if there is only xenolinux running on domU and dom0, I think there is no 
need to add this hypercall, Xen and xenlinux are cooperative, so you can add any
linux-specific optimizations.

If you want to run other OSes on domU and dom0, it is preferred to use 
hypercall,
I think letting xen know which OS is running on is enough, thus you can add any 
optimizations for this OS at any time. I prefer the method Alex mentioned that
calls set_os_type hypercall at very beginning of guest OS boot.

Using __HYPERVISOR_opt_feature is Ok for me, 
While if you find new place where you can optimize, you need to modify 
structure 
xen_ia64_opt_feature, and call __HYPERVISOR_opt_feature several times in xeno 
linux.


- Anthony

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

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