All of lore.kernel.org
 help / color / mirror / Atom feed
* Access Memory Pages
@ 2010-11-11 16:57 Nimgaonkar, Satyajeet
  2010-11-11 21:49 ` Nimgaonkar, Satyajeet
  0 siblings, 1 reply; 5+ messages in thread
From: Nimgaonkar, Satyajeet @ 2010-11-11 16:57 UTC (permalink / raw)
  To: Xen Devel


[-- Attachment #1.1: Type: text/plain, Size: 262 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 671 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Access Memory Pages
  2010-11-11 16:57 Access Memory Pages Nimgaonkar, Satyajeet
@ 2010-11-11 21:49 ` Nimgaonkar, Satyajeet
  2010-11-12  8:54   ` George Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Nimgaonkar, Satyajeet @ 2010-11-11 21:49 UTC (permalink / raw)
  To: Xen Devel


[-- Attachment #1.1: Type: text/plain, Size: 856 bytes --]

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@lists.xensource.com [xen-devel-bounces@lists.xensource.com] on behalf of Nimgaonkar, Satyajeet [SatyajeetNimgaonkar@my.unt.edu]
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

[-- Attachment #1.2: Type: text/html, Size: 1742 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RE: Access Memory Pages
  2010-11-11 21:49 ` Nimgaonkar, Satyajeet
@ 2010-11-12  8:54   ` George Dunlap
  2010-11-12 17:31     ` Nimgaonkar, Satyajeet
  0 siblings, 1 reply; 5+ messages in thread
From: George Dunlap @ 2010-11-12  8:54 UTC (permalink / raw)
  To: Nimgaonkar, Satyajeet; +Cc: Xen Devel

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@my.unt.edu> 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@lists.xensource.com
> [xen-devel-bounces@lists.xensource.com] on behalf of Nimgaonkar, Satyajeet
> [SatyajeetNimgaonkar@my.unt.edu]
> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: RE: Access Memory Pages
  2010-11-12  8:54   ` George Dunlap
@ 2010-11-12 17:31     ` Nimgaonkar, Satyajeet
  2010-11-12 18:03       ` George Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Nimgaonkar, Satyajeet @ 2010-11-12 17:31 UTC (permalink / raw)
  To: George Dunlap; +Cc: Xen Devel

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@gmail.com [dunlapg@gmail.com] on behalf of George Dunlap [dunlapg@umich.edu]
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@my.unt.edu> 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@lists.xensource.com
> [xen-devel-bounces@lists.xensource.com] on behalf of Nimgaonkar, Satyajeet
> [SatyajeetNimgaonkar@my.unt.edu]
> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: RE: Access Memory Pages
  2010-11-12 17:31     ` Nimgaonkar, Satyajeet
@ 2010-11-12 18:03       ` George Dunlap
  0 siblings, 0 replies; 5+ messages in thread
From: George Dunlap @ 2010-11-12 18:03 UTC (permalink / raw)
  To: Nimgaonkar, Satyajeet; +Cc: Xen Devel

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@my.unt.edu> 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@gmail.com [dunlapg@gmail.com] on behalf of George Dunlap [dunlapg@umich.edu]
> 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@my.unt.edu> 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@lists.xensource.com
>> [xen-devel-bounces@lists.xensource.com] on behalf of Nimgaonkar, Satyajeet
>> [SatyajeetNimgaonkar@my.unt.edu]
>> 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@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>>
>>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-11-12 18:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11 16:57 Access Memory Pages Nimgaonkar, Satyajeet
2010-11-11 21:49 ` Nimgaonkar, Satyajeet
2010-11-12  8:54   ` George Dunlap
2010-11-12 17:31     ` Nimgaonkar, Satyajeet
2010-11-12 18:03       ` George Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.