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
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
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 > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/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 > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/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 >> >> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel