From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dongxiao Xu Subject: [PATCH v5 00/11] nested vmx: bug fixes and feature enabling Date: Thu, 6 Dec 2012 22:16:56 +0800 Message-ID: <1354803427-18057-1-git-send-email-dongxiao.xu@intel.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: eddie.dong@intel.com, jun.nakajima@intel.com List-Id: xen-devel@lists.xenproject.org This series of patches contain some bug fixes and feature enabling for nested vmx, please help to review and pull. Changes from v4 to v5: - Combine host_data, enable features, and default1 settings into one macro when composing VMX MSRs for L1 VMM. Changes from v3 to v4: - Use a macro to combine MSR value with host capability. - Use the macro defined for bit 55 in IA32_VMX_BASIC MSR in vmcs.c. Changes from v2 to v3: - Change a hard number to literal name while exposing bit 55 in IA32_VMX_BASIC MSR. Changes from v1 to v2: - Use literal name instead of hard numbers to expose default 1 settings in VMX related MSRs. - For TRUE VMX MSRs, we use the same value as normal VMX MSRs. - Fix a coding style issue. The following 5 patches are suitable to backport to 4.2.x: nested vmx: fix rflags status in virtual vmexit nested vmx: fix handling of RDTSC nested vmx: fix DR access VM exit nested vmx: enable IA32E mode while do VM entry nested vmx: fix interrupt delivery to L2 guest Thanks, Dongxiao Dongxiao Xu (11): nested vmx: emulate MSR bitmaps nested vmx: use literal name instead of hard numbers nested vmx: expose bit 55 of IA32_VMX_BASIC_MSR to guest VMM nested vmx: fix rflags status in virtual vmexit nested vmx: fix handling of RDTSC nested vmx: fix DR access VM exit nested vmx: enable IA32E mode while do VM entry nested vmx: enable "Virtualize APIC accesses" feature for L1 VMM nested vmx: enable PAUSE and RDPMC exiting for L1 VMM nested vmx: fix interrupt delivery to L2 guest nested vmx: check host ability when intercept MSR read xen/arch/x86/hvm/vmx/intr.c | 11 ++- xen/arch/x86/hvm/vmx/vmcs.c | 30 +++++++++- xen/arch/x86/hvm/vmx/vmx.c | 2 +- xen/arch/x86/hvm/vmx/vvmx.c | 119 ++++++++++++++++++++++++++++-------- xen/include/asm-x86/hvm/vmx/vmcs.h | 7 ++ xen/include/asm-x86/hvm/vmx/vmx.h | 2 + xen/include/asm-x86/hvm/vmx/vvmx.h | 10 +++ 7 files changed, 149 insertions(+), 32 deletions(-)