Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] Question: Special linux dom0 handling in vcpu_trans

To: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Question: Special linux dom0 handling in vcpu_translate()
From: tgingold@xxxxxxx
Date: Mon, 25 Jun 2007 11:57:01 +0200
Cc: Xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 25 Jun 2007 02:54:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200706251029.06821.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>
References: <200706210909.12575.dietmar.hahn@xxxxxxxxxxxxxxxxxxx> <1182412190.467a2d9e6969c@xxxxxxxxxxx> <200706251029.06821.dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.5
Quoting Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>:

> The question  is, should I add an optimization call specific to linux or
> specific to single optimization features.

I'd prefer single optimization features (using a bit set) but it's just
my opinion.

> Are there any other implicit optimisations for linux in the hypervisor?

AFAIK no, but it really depends on what you call optimizations.

> I would add an hypercall. This can be called in setup_arch() after
> setup_xen_features().
Seems OK.  I think you'd better to use a private hypercall (num > 0x100)

>  The struct arch_domain has to be extended with an optimisation flag.
> What is your opinion?
VTi already has a few flags.  I don't remember if you can reuse the field but
adding a new one is ok (for me).

Tristan.

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