Re: [Xen-devel] Page Table Entry Modifications

2015-09-28 Thread Gohar Irfan
A clarification: I also want to COPY the contents of the frames, so there will be no memory corruption. In essence, only the frame numbers will be changed. My other question, which is sort of a follow up to this, may be relevant: "Given two GMFN in shadow paging (HVM) is there a way to swap their

Re: [Xen-devel] Page Table Entry Modifications

2015-09-27 Thread Gohar Irfan
This might not seem useful or anything, but this is a part of an experiment so I will describe what I'm trying to do: Divide the memory into two equal halves and call them A and B. Let's say region A has 10 pages, from page numbers 1 to 10. Region B has 10 pages from page numbers 11 to 20 (hypothe

Re: [Xen-devel] Page Table Entry Modifications

2015-09-27 Thread Meng Xu
2015-09-23 4:42 GMT-04:00 Gohar Irfan : > > It is for a project, I'm trying to experiment with a couple of things. Well, this is too general... Everything can be a project. People tries to know what exact things you want to achieve so that they can figure out if you are heading the correct directi

Re: [Xen-devel] Page Table Entry Modifications

2015-09-27 Thread Gohar Irfan
Could someone please help me with this? It's really important and urgent. Thanks a lot! On Wed, Sep 23, 2015 at 1:42 PM Gohar Irfan wrote: > It is for a project, I'm trying to experiment with a couple of things. > > Could you please guide me how this could be achieved? Some relevant chunks > of

Re: [Xen-devel] Page Table Entry Modifications

2015-09-23 Thread Gohar Irfan
It is for a project, I'm trying to experiment with a couple of things. Could you please guide me how this could be achieved? Some relevant chunks of code, perhaps? Thanks! On Wed, Sep 23, 2015 at 1:35 PM Andrew Cooper wrote: > On 22/09/15 20:35, Gohar Irfan wrote: > > Hi All, > > I want to kno

Re: [Xen-devel] Page Table Entry Modifications

2015-09-23 Thread Andrew Cooper
On 22/09/15 20:35, Gohar Irfan wrote: Hi All, I want to know if, in the case of HVM (shadow page tables), we can change the machine frame number pointed to by a page table entry? Yes - Xen is able to change the mfn in a pte. An overly simplified example would be: let's say I have page number

[Xen-devel] Page Table Entry Modifications

2015-09-22 Thread Gohar Irfan
Hi All, I want to know if, in the case of HVM (shadow page tables), we can change the machine frame number pointed to by a page table entry? An overly simplified example would be: let's say I have page number 10 that is pointing to machine frame number 10, but I would like it to point to machine f