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 <[email protected]> > Cc: Ian Jackson <[email protected]> > Cc: Stefano Stabellini <[email protected]> > Cc: Ian Campbell <[email protected]> > Cc: Wei Liu <[email protected]> > Cc: Razvan Cojocaru <[email protected]> > Cc: Stefano Stabellini <[email protected]> > Cc: George Dunlap <[email protected]> > Cc: Keir Fraser <[email protected]> > Cc: Jan Beulich <[email protected]> > Cc: Andrew Cooper <[email protected]> > --- > 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 <[email protected]> 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 [email protected] http://lists.xen.org/xen-devel
