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 <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: Razvan Cojocaru <rcojoc...@bitdefender.com>
> Cc: Stefano Stabellini <stefano.stabell...@citrix.com>
> Cc: Keir Fraser <k...@xen.org>
> Cc: Jan Beulich <jbeul...@suse.com>
> Cc: Andrew Cooper <andrew.coop...@citrix.com>
> Cc: George Dunlap <george.dun...@eu.citrix.com>
> Acked-by: Wei Liu <wei.l...@citrix.com>
> ---
> 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 <rcojoc...@bitdefender.com>


Thanks,
Razvan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to