On 02/05/2016 11:22 PM, Tamas K Lengyel wrote: > The altp2m subsystem in its current form duplicates much of the existing > code present in p2m for setting mem_access permissions. In this patch we > consolidate the two versions but keep the separate MEMOP and HVMOP interfaces. > > Signed-off-by: Tamas K Lengyel <[email protected]> > Cc: Ian Jackson <[email protected]> > Cc: Stefano Stabellini <[email protected]> > Cc: Ian Campbell <[email protected]> > Cc: Razvan Cojocaru <[email protected]> > Cc: Stefano Stabellini <[email protected]> > Cc: Keir Fraser <[email protected]> > Cc: Jan Beulich <[email protected]> > Cc: Andrew Cooper <[email protected]> > Cc: George Dunlap <[email protected]> > Acked-by: Wei Liu <[email protected]> > --- > v3: Keep the external-facing interfaces and tools as they are > Pass gfn_t and make p2m_set_altp2m_mem_access inline > Remove goto and just return rc directly > v2: Don't deprecate the HVMOP hypercall for setting mem_access > Use unsigned int instead of unsigned long > --- > xen/arch/arm/p2m.c | 9 +-- > xen/arch/x86/hvm/hvm.c | 6 +- > xen/arch/x86/mm/p2m.c | 168 > +++++++++++++++++++------------------------ > xen/common/mem_access.c | 2 +- > xen/include/asm-x86/p2m.h | 4 -- > xen/include/xen/p2m-common.h | 3 +- > 6 files changed, 86 insertions(+), 106 deletions(-)
Acked-by: Razvan Cojocaru <[email protected]> Thanks, Razvan _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
