From: Maran Wilson <maran.wilson@oracle.com>
To: xen-devel@lists.xen.org
Cc: andrew.cooper3@citrix.com, boris.ostrovsky@oracle.com,
roger.pau@citrix.com, jbeulich@suse.com, maran.wilson@oracle.com
Subject: [PATCH v4 0/4] x86/PVHv2: Add memory map pointer to hvm_start_info struct
Date: Tue, 20 Mar 2018 09:48:55 -0700 [thread overview]
Message-ID: <1521564536-31880-1-git-send-email-maran.wilson@oracle.com> (raw)
In-Reply-To: <1521149589-21200-1-git-send-email-maran.wilson@oracle.com>
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
https://lkml.org/lkml/2018/2/28/1121
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(-)
--
1.8.3.1
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2018-03-20 16:48 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-15 21:33 [PATCH v3 0/4] x86/PVHv2: Add memory map pointer to hvm_start_info struct Maran Wilson
2018-03-15 21:33 ` [PATCH v3 1/4] " Maran Wilson
2018-03-16 11:02 ` Jan Beulich
2018-03-16 11:11 ` Roger Pau Monné
2018-03-16 11:29 ` Jan Beulich
2018-03-16 11:37 ` Roger Pau Monné
2018-03-16 11:48 ` Jan Beulich
2018-03-16 11:58 ` Roger Pau Monné
2018-03-16 12:05 ` Juergen Gross
2018-03-16 12:25 ` Jan Beulich
2018-03-16 17:00 ` Maran Wilson
2018-03-16 17:59 ` Roger Pau Monné
2018-03-20 16:05 ` Konrad Rzeszutek Wilk
2018-03-15 21:35 ` [PATCH v3 2/4] libxl: Move libxl__arch_domain_construct_memmap() earlier Maran Wilson
2018-03-16 18:12 ` Roger Pau Monné
2018-03-16 18:34 ` Boris Ostrovsky
2018-03-15 21:35 ` [PATCH v3 3/4] libxl: Store PVH guest's e820 map in xc_dom_image Maran Wilson
2018-03-16 18:20 ` Roger Pau Monné
2018-03-16 18:44 ` Boris Ostrovsky
2018-03-15 21:35 ` [PATCH v3 4/4] libxc: Pass e820 map to PVH guest via hvm_start_info Maran Wilson
2018-03-16 18:29 ` Roger Pau Monné
2018-03-21 16:00 ` Wei Liu
2018-03-20 16:48 ` Maran Wilson [this message]
2018-03-20 16:48 ` [PATCH v4 1/4] x86/PVHv2: Add memory map pointer to hvm_start_info struct Maran Wilson
2018-03-20 17:03 ` Jan Beulich
2018-03-21 9:28 ` Roger Pau Monné
2018-03-21 9:40 ` Juergen Gross
2018-03-21 16:46 ` Maran Wilson
2018-03-21 16:48 ` Juergen Gross
2018-03-21 16:58 ` Roger Pau Monné
2018-03-20 16:50 ` [PATCH v4 2/4] libxl/x86: Build e820 map earlier for HVM/PVH guests Maran Wilson
2018-03-21 9:37 ` Roger Pau Monné
2018-03-21 17:49 ` Wei Liu
2018-03-21 17:56 ` Boris Ostrovsky
2018-03-20 16:50 ` [PATCH v4 3/4] libxl: Store e820 map in xc_dom_image Maran Wilson
2018-03-21 9:42 ` Roger Pau Monné
2018-03-21 13:26 ` Boris Ostrovsky
2018-03-20 16:50 ` [PATCH v4 4/4] libxc: Pass e820 map to HVM/PVH guests via hvm_start_info Maran Wilson
2018-03-21 10:07 ` Roger Pau Monné
2018-03-21 13:37 ` Boris Ostrovsky
2018-03-21 14:18 ` Roger Pau Monné
2018-03-21 17:53 ` Boris Ostrovsky
2018-03-22 9:15 ` Roger Pau Monné
2018-03-28 11:05 ` Wei Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1521564536-31880-1-git-send-email-maran.wilson@oracle.com \
--to=maran.wilson@oracle.com \
--cc=andrew.cooper3@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=jbeulich@suse.com \
--cc=roger.pau@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).