]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
KVM: SVM: Initialize fpu_active in init_vmcb()
authorAvi Kivity <avi@redhat.com>
Thu, 7 Jan 2010 11:16:08 +0000 (13:16 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:51 +0000 (12:35 -0300)
commitbff7827479ed004c0394e6e7b35ae601bb1a97ad
tree663d7edae1086ad6924afce97fac070153aa5a15
parentdc77270f960a8b3cc39a6349a9fad58cc6053d53
KVM: SVM: Initialize fpu_active in init_vmcb()

init_vmcb() sets up the intercepts as if the fpu is active, so initialize it
there.  This avoids an INIT from setting up intercepts inconsistent with
fpu_active.

Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c