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

Re: [Xen-devel] RE: Access Memory Pages

To: "Nimgaonkar, Satyajeet" <SatyajeetNimgaonkar@xxxxxxxxxx>
Subject: Re: [Xen-devel] RE: Access Memory Pages
From: George Dunlap <dunlapg@xxxxxxxxx>
Date: Fri, 12 Nov 2010 18:03:24 +0000
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 12 Nov 2010 10:09:42 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=9n+xm+LDnNxDaLrTG0886qS6oabgEMk7KK/52dFeioc=; b=O6D5rHGU08opjGzqC8DOTLr78kqL3eUhN1tPrxrHeTZKCn9d/zz4WHy5eEC+hk9gd6 P/i0EMI82F4CK+j5EImIXcPNirIR4PKXu6LL+mqjxocXbO+Jsjq7hPghgz8RaiMdnLDv addhOoFYgNJhX0R+eUXOhElzm9eKM3IqZ99xE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=GHvkxAsBuihqFyBIM9H3ZRvfWgZHHG4926Ax/cixlEr/obpZP6v4wATGCWWX2q9zkV 128aSY2Hm+V3u2SHXJPleOIc2CVvtcg+OLUrr0kRPyjMsPwrV59xoMBPmK9/O/U3VirU 0JBxvaZ8LuLhPvLVWCaWuMO8TTvA90fSm/180=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <12871952FC0E29439F861FA745BCDD8503ECA8C0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <12871952FC0E29439F861FA745BCDD8503ECA521@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <12871952FC0E29439F861FA745BCDD8503ECA670@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTikrrgJHsdv-rZPKbAuxQxDbHBWctA6NTZ1jghpn@xxxxxxxxxxxxxx> <12871952FC0E29439F861FA745BCDD8503ECA8C0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I meant, you can see how that hypercall does it and copy its technique.
 -G

On Fri, Nov 12, 2010 at 5:31 PM, Nimgaonkar, Satyajeet
<SatyajeetNimgaonkar@xxxxxxxxxx> wrote:
> Hi George,
>                Thank you for your response. I have already implemented a 
> custom hypercall and I want to access the memory pages allocated for a 
> particular process, with in this hypercall handler. So I was not quite sure 
> if I can initiate a hypercall from my custom hypercall handler i.e. from with 
> in xen.
>                I would appreciate if you could help further in this.
>                Thanks.
>
> Regards,
> Satyajeet
> ________________________________________
> From: dunlapg@xxxxxxxxx [dunlapg@xxxxxxxxx] on behalf of George Dunlap 
> [dunlapg@xxxxxxxxx]
> Sent: Friday, November 12, 2010 2:54 AM
> To: Nimgaonkar, Satyajeet
> Cc: Xen Devel
> Subject: Re: [Xen-devel] RE: Access Memory Pages
>
> Have you tried looking for an existing hypercall which does something
> similar to what you want, to get a hint how it might be done?
>
>  -George
>
> On Thu, Nov 11, 2010 at 9:49 PM, Nimgaonkar, Satyajeet
> <SatyajeetNimgaonkar@xxxxxxxxxx> wrote:
>> Hi,
>>     Can anyone please tell me how should acquire the memory pages for a
>> process. I want to achieve this from the hypercall handler so from within
>> Xen. Also the process whose memory pages I wish to acquire is the same
>> process that is initiating the hypercall.
>>     Thank you.
>>
>> Regards,
>> Satyajeet
>> ________________________________
>> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>> [xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] on behalf of Nimgaonkar, Satyajeet
>> [SatyajeetNimgaonkar@xxxxxxxxxx]
>> Sent: Thursday, November 11, 2010 10:57 AM
>> To: Xen Devel
>> Subject: [Xen-devel] Access Memory Pages
>>
>> Hi,
>>     I have a hypercall implemented and I need to access the memory pages
>> allocated for the process calling this hypercall within the hypercall
>> handler. If i could get any pointers on this it would be great.
>>     Thank you very much.
>>
>> Regards,
>> Satyajeet
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>>
>>
>

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

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