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

[Xen-devel] Mapping hvm guest pages in Dom0

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Mapping hvm guest pages in Dom0
From: Satya <satyakiran@xxxxxxxxx>
Date: Fri, 26 Sep 2008 12:02:09 -0700
Delivery-date: Fri, 26 Sep 2008 12:02:37 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=rTmJAUFUxG/9IBh8rtCWBp1918tfntKVWtV5xfSELZ8=; b=ohlP3EjKBFoKqzULUxqnE3ESuh5itqV9pGcY7JTomfGcWqbW90F5WwDuXrHnXjsZLx AuF08Rb1eR+1i5gNdL0D9+bCLipAXMCjW1xWGmBDRFIInIDi+NgxV4Wi60lCFa2N1NBm kG9lmP9rp6fqB/l6WQ/Bh/DmX/HC3XyHPWM/0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=SZBnY3Cm9LVkdB2qD/peVsyfN7DKCU2Cim+OSneWuPf9mAgra5Lreo8NcAyVHlPpu+ wCdsc3FirOpjKW7jJjkNBUFNfj1scNxz8m2PbLBTgdJLu7V+yYV1D8wy+c5p5yQv+RLK L3WlsFSdGpVoTAS5vlJ6JQOj+ZqQWpsDZ8mec=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hello,
I would like to map (Read/Write) pages owned by a HVM guest from my Dom0 Linux kernel module. I have access to the "machine frame numbers" of these pages.

1. What is the right interface to do this? kmap needs 'struct page' ptrs which I doubt exist for pages owned by a HVM guest. Is there a hypercall to do this then?

2. Do I need to modify the HVM behavior in any way for this? (e.g., load a driver in the guest that will setup grant tables?). I need to keep my guest "pure HVM".

thanks,
./satya
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>