On 02/05/2016 11:22 PM, Tamas K Lengyel wrote: > Extend the existing get_mem_access memop to allow querying permissions in > altp2m views as well. > > Signed-off-by: Tamas K Lengyel <tleng...@novetta.com> > Cc: Ian Jackson <ian.jack...@eu.citrix.com> > Cc: Stefano Stabellini <stefano.stabell...@eu.citrix.com> > Cc: Ian Campbell <ian.campb...@citrix.com> > Cc: Wei Liu <wei.l...@citrix.com> > Cc: Razvan Cojocaru <rcojoc...@bitdefender.com> > Cc: Stefano Stabellini <stefano.stabell...@citrix.com> > Cc: George Dunlap <george.dun...@eu.citrix.com> > Cc: Keir Fraser <k...@xen.org> > Cc: Jan Beulich <jbeul...@suse.com> > Cc: Andrew Cooper <andrew.coop...@citrix.com> > --- > v3: Define a union over a memop field for the separate use during get and set > v2: Use unsigned int instead of unsigned long > Use a single p2m pointer > --- > tools/libxc/include/xenctrl.h | 3 ++- > tools/libxc/xc_mem_access.c | 10 ++++++---- > tools/tests/xen-access/xen-access.c | 5 ++++- > xen/arch/arm/p2m.c | 4 ++-- > xen/arch/x86/mm/p2m.c | 17 +++++++++++++++-- > xen/common/mem_access.c | 10 +++++----- > xen/include/public/memory.h | 19 ++++++++++++++----- > xen/include/xen/p2m-common.h | 3 ++- > 8 files changed, 50 insertions(+), 21 deletions(-)
Acked-by: Razvan Cojocaru <rcojoc...@bitdefender.com> Took a bit longer on this one because I wanted to do a test run with our application after applying these last two patches and make sure things work. They seem to work. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel