Re: [Xen-devel] Reading guest page flags

2018-09-14 Thread Spencer Michaels
Thanks! Sorry, I should have been more specific - I do indeed mean the regular guest PTEs (and I'm using PV guests which as I understand don't use EPT anyway). So, it seems I'll have to write my own code for this. I'll take a look at libvmi's implementation; if anyone knows any other libraries /

Re: [Xen-devel] Reading guest page flags

2018-09-13 Thread Tamas K Lengyel
On Thu, Sep 13, 2018 at 11:48 AM Razvan Cojocaru wrote: > > On 9/13/18 8:29 PM, Spencer Michaels wrote: > > I'm writing an application that can read/write guest memory, and as part > > of that I need to check whether the page being manipulated is > > readable/writable by the guest itself. Does

Re: [Xen-devel] Reading guest page flags

2018-09-13 Thread Razvan Cojocaru
On 9/13/18 8:29 PM, Spencer Michaels wrote: > I'm writing an application that can read/write guest memory, and as part > of that I need to check whether the page being manipulated is > readable/writable by the guest itself. Does Xen have an API that would > allow me to read the flags of an

[Xen-devel] Reading guest page flags

2018-09-13 Thread Spencer Michaels
Hello, I'm writing an application that can read/write guest memory, and as part of that I need to check whether the page being manipulated is readable/writable by the guest itself. Does Xen have an API that would allow me to read the flags of an arbitrary page on a guest, given either its address