From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v2 0/4] KVM: x86: Reset fixes Date: Tue, 07 Apr 2015 16:01:56 +0200 Message-ID: <5523E354.4070909@redhat.com> References: <1427933438-12782-1-git-send-email-namit@cs.technion.ac.il> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: kvm@vger.kernel.org To: Nadav Amit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51723 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755216AbbDGOCA (ORCPT ); Tue, 7 Apr 2015 10:02:00 -0400 In-Reply-To: <1427933438-12782-1-git-send-email-namit@cs.technion.ac.il> Sender: kvm-owner@vger.kernel.org List-ID: On 02/04/2015 02:10, Nadav Amit wrote: > This set includes 2 previous patches that deal with the INIT flow that is not > distinguished from regular boot, and allowing the VM to change BSP (which is > used in very certain testing environments). The next 2 patches are new, dealing > with regression that cause DR0-DR3 not to be reset (even when QEMU initiates > the RESET) and CR2 not cleared after INIT. > > The second patch regarding BSP requires an additional fix for QEMU, as > otherwise reset fails. A separate patch was submitted to QEMU mailing-list. > > Thanks for reviewing the patches. > > Nadav Amit (4): > KVM: x86: INIT and reset sequences are different > KVM: x86: BSP in MSR_IA32_APICBASE is writable > KVM: x86: DR0-DR3 are not clear on reset > KVM: x86: Clear CR2 on VCPU reset > > arch/x86/include/asm/kvm_host.h | 7 ++++--- > arch/x86/kvm/lapic.c | 13 ++++++------- > arch/x86/kvm/lapic.h | 2 +- > arch/x86/kvm/svm.c | 4 ++-- > arch/x86/kvm/vmx.c | 30 +++++++++++++++++------------- > arch/x86/kvm/x86.c | 35 +++++++++++++++++++++++++++-------- > include/linux/kvm_host.h | 7 ++++++- > 7 files changed, 63 insertions(+), 35 deletions(-) > Applying patches 2-4, thanks. Paolo