From: Jan Kiszka Subject: [PATCH v2 0/4] KVM: x86: Fixes for IA32_APIC_BASE and nVMX Date: Fri, 24 Jan 2014 16:48:43 +0100 Message-ID: Cc: kvm To: Paolo Bonzini , Gleb Natapov , Marcelo Tosatti Return-path: Received: from goliath.siemens.de ([192.35.17.28]:59671 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752904AbaAXPtE (ORCPT ); Fri, 24 Jan 2014 10:49:04 -0500 Sender: kvm-owner@vger.kernel.org List-ID: This is the yet unmerged part of the previous round. Changes since v1: - rebase over next - switched APIC_BASE reserved bits check to guest's number of physical bits - addressed small review comment on "Rework interception of IRQs and NMIs" - added fix for improper EXCEPTION_NMI vmexit injection with valid IDT vectoring info Paolo, did you already look into nested event handling for SVM? I assume you will want to (re-)base it on top of this. Jan Jan Kiszka (4): KVM: x86: Validate guest writes to MSR_IA32_APICBASE KVM: nVMX: Rework interception of IRQs and NMIs KVM: nVMX: Fully emulate preemption timer KVM: nVMX: Do not inject NMI vmexits when L2 has a pending interrupt arch/x86/include/asm/kvm_host.h | 2 + arch/x86/kvm/cpuid.h | 16 +++ arch/x86/kvm/lapic.h | 2 +- arch/x86/kvm/vmx.c | 228 ++++++++++++++++++++++++---------------- arch/x86/kvm/x86.c | 47 +++++++-- 5 files changed, 197 insertions(+), 98 deletions(-) -- 1.8.1.1.298.ge7eed54