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

[Xen-devel] [PATCH v4 0/4] x86/PVHv2: Add memory map pointer to hvm_start_info struct

Here is the patch series for updating the canonical definition of the
hvm_start_info struct corresponding to the discussion happening on the
linux-kernel and kvm mailing lists regarding Qemu/KVM use of the PVH
entry point:

   KVM: x86: Allow Qemu/KVM to use PVH entry point

Patch 1 contains all the changes to the hvm_start_info struct and
patches 2-4 modify Xen to use the new memory map fields of the structure.

Changes since v3:
 * Cleaned up hard tabs in start_info.h (patch 1)
 * Removed comment about "For PV guests only 0 allowed, for PVH 0 or 1
   allowed" from start_info.h (patch 1)
 * Make the map available to both HVM and PVH guests (patches 2-4)
 * Re-organize libxl changes (patches 2-4)

Changes since v2:
 * Better definition of the memory map types including addition of new
   symbols and tightening up the comments as suggested.
 * Added a couple of BUILD_BUG_ON() statements to the c code in patch #4
   to document and verify the relationship between these memory types
   and e820 types.

Changes since v1:
 * Made updates to code comments as suggested by Jan and Roger, including
   better definition of the memory map type field.   
 * Boris provided additional patches to populate the new fields in the
   hvm_start_info struct as Jan (and later Roger also) had requested.

Boris Ostrovsky (3):
  libxl/x86: Build e820 map earlier for HVM/PVH guests
  libxl: Store e820 map in xc_dom_image
  libxc: Pass e820 map to HVM/PVH guests via hvm_start_info

Maran Wilson (1):
  x86/PVHv2: Add memory map pointer to hvm_start_info struct

 tools/libxc/include/xc_dom.h                 |  7 ++-
 tools/libxc/xc_dom_x86.c                     | 29 ++++++++++++-
 tools/libxl/libxl_arch.h                     |  9 +---
 tools/libxl/libxl_arm.c                      | 10 +----
 tools/libxl/libxl_create.c                   |  2 +-
 tools/libxl/libxl_dom.c                      | 16 +++----
 tools/libxl/libxl_internal.h                 |  1 +
 tools/libxl/libxl_x86.c                      | 53 +++++++++++++++--------
 xen/include/public/arch-x86/hvm/start_info.h | 65 +++++++++++++++++++++++++++-
 9 files changed, 144 insertions(+), 48 deletions(-)


Xen-devel mailing list



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