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

[Xen-devel] [PATCH v4 00/11] xen/arm: Handle correctly foreign mapping


This patch series aims to fix "Failed to unmap" message in dom0 when a guest is
creating. Without this patch series, dom0 will leak memory each time a domain
is created. It should be considered as a blocker for Xen 4.4 release.

Compare to the previous version, I have removed the dependency on pvh dom0
patch series 
This will allow to push this serie as soon as possible without waiting the 
for dom0 pvh (which is only x86 specific).

    - Patch #1: patch #4 of the dom0 pvh series
    - Patch #2-3: prepare work for the others patches
    - Patch #4-7: add support for p2m type
    - Patch #8-10: handle correctly foreign mapping. Patch #9, contains
    common remove code taken from patch #7 of dom0 pvh
    - Patch #11: it's not really part of this series. It adds support
    for read-only grant-mapping

For all the changes, see in each patch.

Sincerely yours,
Release-acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Cc: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Cc: Jan Beulich <jbeulich@xxxxxxxx>
Cc: Keir Fraser <keir@xxxxxxx>
Cc: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>

Julien Grall (10):
  xen/arm: Introduce steps in domain_relinquish_resource
  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: Extend p2m_lookup parameters to retrieve the p2m type
  xen/arm: Retrieve p2m type in get_page_from_gfn
  xen/arm: Handle remove foreign mapping
  xen/arm: Add relinquish_p2m_mapping to remove reference on every
    mapped page
  xen/arm: Set foreign page type to p2m_map_foreign
  xen/arm: grant-table: Support read-only mapping

Mukesh Rathor (1):
  pvh dom0: Introduce p2m_map_foreign

 xen/arch/arm/domain.c        |   45 ++++++++++--
 xen/arch/arm/mm.c            |   39 +++++++----
 xen/arch/arm/p2m.c           |  158 +++++++++++++++++++++++++++++++++++++-----
 xen/arch/arm/traps.c         |    6 +-
 xen/arch/x86/mm/p2m-ept.c    |    1 +
 xen/arch/x86/mm/p2m-pt.c     |    1 +
 xen/arch/x86/mm/p2m.c        |   28 +++++---
 xen/common/memory.c          |   12 +++-
 xen/include/asm-arm/domain.h |    9 +++
 xen/include/asm-arm/p2m.h    |   69 +++++++++++++++---
 xen/include/asm-arm/page.h   |   24 +------
 xen/include/asm-x86/p2m.h    |   10 +++
 12 files changed, 318 insertions(+), 84 deletions(-)


Xen-devel mailing list



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