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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Mapping hvm guest pages in Dom0

To: Satya <satyakiran@xxxxxxxxx>
Subject: Re: [Xen-devel] Mapping hvm guest pages in Dom0
From: "Jean Guyader" <jean.guyader@xxxxxxxxx>
Date: 2008年9月27日 01:12:12 +0100
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2008年9月26日 17:12:36 -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:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=TobyMjie6emTPJd41RxsV1TEXEtoCDDj3/R3y+S/+SY=; b=p3HJo0d1retbtUjrx4YuX8QscBpYvHSQ+CFKfU1NCS7feAYytA2sIEhpcGWyLUDUrx gDq5IuUU6tC3ol7ikGvndrqbR5JZ3ip+qGYZhqxl2ECkukinmn0QIlAmB5BGdo9qXJYV s7mcBVSaB/OL7aXgddB7zS9gyMnBt6fcwFa8o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=DUPIsRvtaAL9SwCQIoONt6ptArTIQCNPpj4llnqczSyyHwUSfcXSQ/eTIJDjwqkC7z q3lJsrBhioQ7zMNnZAMVxjEwcOxY0pqnmCWV/j428JHHPMidErAotH3VUPtPPJaMiF/r FsvLTAi7SpGs1HSQAZ+FdP66MxpUktsRVB9bM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <acbcf3840809261202i693c21fawbe86ec75f8a995ba@xxxxxxxxxxxxxx>
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>
References: <acbcf3840809261202i693c21fawbe86ec75f8a995ba@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
On Fri, Sep 26, 2008 at 8:02 PM, Satya <satyakiran@xxxxxxxxx> wrote:
> 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?
>
You can use xc_map_foreign_ranges function inside libxc (link with xenctrl).
> 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".
>
You don't need to modify your hvm for doing that.
-- 
Jean Guyader
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Xmalloc worst case performance and bad corner cases , Dan Magenheimer
Next by Date: Re: [Xen-devel] Successful IPv6 Xen Deployment; Protection Against IPv4 ARP Poisoning Attacks , Luke S Crawford
Previous by Thread: Re: [Xen-devel] Mapping hvm guest pages in Dom0 , pradeep singh rautela
Next by Thread: Re: [Xen-devel] Mapping hvm guest pages in Dom0 , Dietmar Hahn
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /