[PATCH v2 0/4] KVM: x86: Reset fixes

2015-04-01 Thread Nadav Amit
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(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v2 0/4] KVM: x86: Reset fixes

2015-04-07 Thread Paolo Bonzini


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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html