Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756205AbcKWBQN (ORCPT ); Tue, 22 Nov 2016 20:16:13 -0500 Received: from mail-pg0-f44.google.com ([74.125.83.44]:33256 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755820AbcKWBQK (ORCPT ); Tue, 22 Nov 2016 20:16:10 -0500 From: David Matlack To: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, jmattson@google.com, rkrcmar@redhat.com, pbonzini@redhat.com, David Matlack Subject: [PATCH 0/4] VMX Capability MSRs Date: Tue, 22 Nov 2016 17:14:36 -0800 Message-Id: <1479863680-117511-1-git-send-email-dmatlack@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 25 This patchset includes v2 of "KVM: nVMX: support restore of VMX capability MSRs" (patch 1) as well as some additional related patches that came up while preparing v2. Patches 2 and 3 make KVM's emulation of MSR_IA32_VMX_CR{0,4}_FIXED1 more accurate. Patch 4 fixes a bug in emulated VM-entry that came up when testing patches 2 and 3. Changes since v1: * Support restoring less-capable versions of MSR_IA32_VMX_BASIC, MSR_IA32_VMX_CR{0,4}_FIXED{0,1}. * Include VMX_INS_OUTS in MSR_IA32_VMX_BASIC initial value. David Matlack (4): KVM: nVMX: support restore of VMX capability MSRs KVM: nVMX: fix checks on CR{0,4} during virtual VMX operation KVM: nVMX: accurate emulation of MSR_IA32_CR{0,4}_FIXED1 KVM: nVMX: load GUEST_EFER after GUEST_CR0 during emulated VM-entry arch/x86/include/asm/vmx.h | 31 ++++ arch/x86/kvm/vmx.c | 443 +++++++++++++++++++++++++++++++++++++++------ 2 files changed, 421 insertions(+), 53 deletions(-) -- 2.8.0.rc3.226.g39d4020