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

Re: [Xen-devel] [PATCH 0/8] xen/arm: Handle correctly foreign mapping



(Use the right address for Tim)

On 12/05/2013 03:42 PM, Julien Grall wrote:
Hello,

This patch series aims to fix "Failed to unmap" message in dom0 when a guest
is creating. Actually it will result to leak dom0 memory.

The series is based on pvh dom0 v5 patch series
(http://www.gossamer-threads.com/lists/xen/devel/309493?page=last) from Mukesh.

     - Patch #1: this patch add support to remove correctly foreign page
     on ARM, if it's possible I would like to merge with patch #6 of Mukesh.
     - Patch #2: prepare work for the other patch
     - Patch #3-6: add support for p2m type
     - Patch #7: set p2m type for foreign page
     - Patch #8: it's not really part of this serie. It adds support for
     read-only grant-mapping.

In the ideal world, this patch series and the pvh dom0 series should be mixed
to avoid to introduce dummy functions that will be removed later.

Sincerely yours,

Cc: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Cc: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>

Julien Grall (8):
   DO NOT APPLY: xen/arm: Correctly support foreign page removing on ARM
   xen/arm: move mfn_to_p2m_entry in arch/arm/p2m.c
   xen/arm: Implement p2m_type_t as an enum
   xen/arm: Store p2m type in each page of the guest
   xen/arm: p2m: Add p2m_get_entry
   xen/arm: Retrieve p2m type in get_page_from_gfn
   xen/arm: Set foreign page type to p2m_map_foreign
   xen/arm: grant-table: Support read-only mapping

  xen/arch/arm/mm.c          |   26 ++++++++-------
  xen/arch/arm/p2m.c         |   78 ++++++++++++++++++++++++++++++++++++--------
  xen/common/memory.c        |   12 ++++---
  xen/include/asm-arm/p2m.h  |   43 +++++++++++++++++-------
  xen/include/asm-arm/page.h |   22 -------------
  5 files changed, 117 insertions(+), 64 deletions(-)


--
Julien Grall

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


 


Rackspace

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