[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v2 0/2] Add an altp2m subop for obtaining the page mem access



Currently there is a subop for setting the memaccess of a page, but not
for consulting it.  The new HVMOP_altp2m_get_mem_access adds this
functionality.

Changes in v2:
- use the _p2m_get_mem_access helper from p2m_get_mem_access
- minor Arm adjustments
- move out the addition of a memaccess helper function to a separate
  patch in the attempts of making the diff clearer

Adrian Pop (2):
  x86/mem_access: Add a helper function for memaccess conversion
  x86/altp2m: Add a subop for obtaining the mem access of a page

 tools/libxc/include/xenctrl.h   |  3 ++
 tools/libxc/xc_altp2m.c         | 33 +++++++++++++--
 xen/arch/arm/mem_access.c       |  8 +++-
 xen/arch/x86/hvm/hvm.c          | 26 ++++++++++--
 xen/arch/x86/mm/mem_access.c    | 73 +++++++++++++++++++++++----------
 xen/common/mem_access.c         |  2 +-
 xen/include/public/hvm/hvm_op.h | 10 +++--
 xen/include/xen/mem_access.h    |  3 +-
 8 files changed, 121 insertions(+), 37 deletions(-)

-- 
2.17.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.