From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: [PATCH v2 0/4] 32-bit domU PVH support Date: Mon, 29 Jun 2015 16:21:18 -0400 Message-ID: <1435609282-1383-1-git-send-email-boris.ostrovsky@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: elena.ufimtseva@oracle.com, wei.liu2@citrix.com, ian.campbell@citrix.com, andrew.cooper3@citrix.com, stefano.stabellini@eu.citrix.com, tim@xen.org, jbeulich@suse.com, boris.ostrovsky@oracle.com, ian.jackson@eu.citrix.com, roger.pau@citrix.com List-Id: xen-devel@lists.xenproject.org Changes in v2: * Only set domain's has_32bit_shinfo, not is_32bit_pv. This adds patch 1 that replaces some of is_pv_32bit_domain()/is_pv_32bit_vcpu()/is_pv_32on64_vcpu() tests with has_32bit_shinfo(). Note that I only replaced what I thought was necessary to boot the guest. MCA and tracing might also need similar changes (and maybe something else) * Set up PVH VCPUs for 64-bit mode (i.e. keep setup the way it is now) and change mode to 32-bit later if necessary. (patch 2) * Minor cleanup in hvm_do_hypercall() (patch 3) * Drop 2 patches (one that set vstart address to __HYPERVISOR_COMPAT_VIRT_START and the other that became unnecessary due to the first change above) Initial 32-bit PVH support, dom0 will need more work. Boris Ostrovsky (4): x86/compat: Test whether guest has 32b shinfo instead of being a PV 32b domain x86/pvh: Set 32b PVH guest mode in XEN_DOMCTL_set_address_size x86/pvh: Handle hypercalls for 32b PVH guests libxc/x86/pvh: Allow creation of 32b PVH guests tools/libxc/xc_dom_x86.c | 32 ++++++++++++++---------------- xen/arch/x86/domain.c | 30 +++++++++++++--------------- xen/arch/x86/domctl.c | 4 ++-- xen/arch/x86/hvm/hvm.c | 46 +++++++++++++++++++++++++++++++++++++------ xen/arch/x86/hvm/vmx/vmcs.c | 2 +- xen/arch/x86/hvm/vmx/vmx.c | 17 ++++++++++++++++ xen/common/domctl.c | 4 ++-- xen/include/asm-x86/hvm/hvm.h | 2 ++ 8 files changed, 93 insertions(+), 44 deletions(-) -- 1.8.1.4