Skip to content

cr0/cr4/efer/fpu miscellaneous bits

Avi Kivity kvm 1 version Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 14 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8KVM: Allow kvm_load_guest_fpu() even when !vcpu->fpu_activearch/x86/kvm/x86.c+3 -20 replies
2/8KVM: Drop kvm_{load,put}_guest_fpu() exportsarch/x86/kvm/x86.c+0 -20 replies
3/8KVM: Activate fpu on cltsarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +1 more+10 -18 replies
4/8KVM: Add a helper for checking if the guest is in protected modearch/x86/kvm/emulate.c arch/x86/kvm/vmx.c arch/x86/kvm/x86.c +1 more+15 -110 replies
5/8KVM: Move cr0/cr4/efer related helpers to x86.harch/x86/kvm/emulate.c arch/x86/kvm/mmu.c arch/x86/kvm/mmu.h +1 more+25 -250 replies
6/8KVM: Rename vcpu->shadow_efer to eferarch/x86/include/asm/kvm_host.h arch/x86/kvm/mmu.c arch/x86/kvm/svm.c +3 more+23 -230 replies
7/8KVM: Optimize kvm_read_cr[04]_bits()arch/x86/kvm/kvm_cache_regs.h+7 -25 replies
8/8KVM: trace guest fpu loads and unloadsarch/x86/kvm/x86.c include/trace/events/kvm.h+21 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)