From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: [PATCH v5 0/5] 32-bit domU PVH support Date: Fri, 4 Sep 2015 13:05:09 -0400 Message-ID: <1441386314-5694-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, ian.jackson@eu.citrix.com, jbeulich@suse.com, boris.ostrovsky@oracle.com, roger.pau@citrix.com List-Id: xen-devel@lists.xenproject.org 32-bit PVH-classic support Changes in v5: * Added patch 2 that prevents a 32-bit PVH guest from turning off PAE Changes in v4: * Add xenpmu_op hypercall to pvh_hypercall32_table[] (patch 3) * Adjust 'is_pvh_domain(currd)' test to match a similar test further in the routine (patch 3) Changes in v3: * Swapped patches 1 and 2 * Added is_pvh_32bit_domain() macro * Dropped a few unnecessary tests for 32b mode * Added error for unsupported modes * Added changes to switch_native() similar to those in switch_compat() * Fully declared compat_mmuext_op() in hvm.c Boris Ostrovsky (5): x86/pvh: Set 32b PVH guest mode in XEN_DOMCTL_set_address_size x86/pvh: Do not allow 32-bit PVH guests to clear CR4's PAE bit x86/compat: Test both PV and PVH guests for compat mode 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 | 33 +++++++++++-------- xen/arch/x86/domctl.c | 5 +-- xen/arch/x86/hvm/hvm.c | 76 ++++++++++++++++++++++++++++++++++++------- xen/arch/x86/hvm/vmx/vmcs.c | 2 +- xen/arch/x86/hvm/vmx/vmx.c | 19 +++++++++++ xen/include/asm-x86/domain.h | 1 + xen/include/asm-x86/hvm/hvm.h | 2 ++ 8 files changed, 125 insertions(+), 45 deletions(-) -- 1.8.1.4