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

[Xen-ia64-devel] RE: vcpu context merge

To: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Subject: [Xen-ia64-devel] RE: vcpu context merge
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Fri, 20 May 2005 11:08:56 -0700
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 20 May 2005 18:08:15 +0000
Envelope-to: www-data@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: AcVbe1RkD/iHinBzT3SB7w1CGdFiMQBEFR/wACTyKtAAEZ7HwA==
Thread-topic: vcpu context merge
> Magenheimer, Dan (HP Labs Fort Collins) wrote:
> > 1) Can the shared page be mapped at a fixed or guest-requested
> >    virtual address for non-VTI guests?   Xen needs to guarantee
> Yes, I think they are mapped by guest TR. Actually this merge doesn't
> change the way PV guest map the shared page. Maybe the only 
> difference 
> is that this merge may introduce additional map for per VP VPD.

Just to make sure I understand:  I would like a PV guest to make
a hypercall to Xen early on (probably in head.S prior to interrupts
being enabled) that says:

Map the shared page at THIS virtual address.  (If an illegal virtual
address is passed, Xen can kill the domain.)

> I know it introduce additional effort to do this in PV, kevin 
> and I can help together 
> to make that happen if you need :)

If all the virtual registers are a fixed offset from THIS
virtual address (see xen-ia64.bkbits.net/xenlinux-ia64-2.6.11.bk
in include/asm-ia64/xen/processsor.h), then only the
offset constants need to change.  If you can provide me
those constants for the new shared page, that would be
very helpful.

Also, I noticed in some of the ctrl_if(?) code, some data
structure is assumed to be at a fixed offset (1024) from
the shared page.  Is this accounted for in your merged
data structure?

Thanks,
Dan

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

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