]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/x86/kvm/cpuid.c
KVM: x86: Make register state after reset conform to specification
authorJulian Stecklina <jsteckli@os.inf.tu-dresden.de>
Wed, 5 Dec 2012 14:26:19 +0000 (15:26 +0100)
committerGleb Natapov <gleb@redhat.com>
Wed, 5 Dec 2012 16:00:07 +0000 (18:00 +0200)
commit66f7b72e117180d0007e7a65b8dc5bd1c8126e3b
tree215798d481c12903a48136631ab6978be440ed99
parent2b3c5cbc0d814437fe4d70cc11ed60550b95b29f
KVM: x86: Make register state after reset conform to specification

VMX behaves now as SVM wrt to FPU initialization. Code has been moved to
generic code path. General-purpose registers are now cleared on reset and
INIT.  SVM code properly initializes EDX.

Signed-off-by: Julian Stecklina <jsteckli@os.inf.tu-dresden.de>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/cpuid.c
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c