[PATCH 0/8] cr0/cr4/efer/fpu miscellaneous bits

Avi Kivity
2010-01-21T13:31:54Z

Mostly trivial cleanups with the exception of a patch activating the fpu
on clts.

Avi Kivity (8):
KVM: Allow kvm_load_guest_fpu() even when !vcpu->fpu_active
KVM: Drop kvm_{load,put}_guest_fpu() exports
KVM: Activate fpu on clts
KVM: Add a helper for checking if the guest is in protected mode
KVM: Move cr0/cr4/efer related helpers to x86.h
KVM: Rename vcpu->shadow_efer to efer
KVM: Optimize kvm_read_cr[04]_bits()
KVM: trace guest fpu loads and unloads

arch/x86/include/asm/kvm_host.h | 3 ++-
arch/x86/kvm/emulate.c | 10 ++++------
arch/x86/kvm/kvm_cache_regs.h | 9 +++++++--
arch/x86/kvm/mmu.c | 3 ++-
arch/x86/kvm/mmu.h | 24 ------------------------
arch/x86/kvm/svm.c | 20 +++++++++++++-------
arch/x86/kvm/vmx.c | 19 ++++++++++---------
arch/x86/kvm/x86.c | 31 ++++++++++++++++---------------
arch/x86/kvm/x86.h | 30 ++++++++++++++++++++++++++++++
include/trace/events/kvm.h | 19 +++++++++++++++++++
10 files changed, 103 insertions(+), 65 deletions(-)