Skip to content

Enable MTRR/PAT support for KVM EPT(v2)

Sheng Yang kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7KVM: VMX: Allocate MSR Bitmap for each vcpuarch/x86/kvm/vmx.c+30 -234 replies
2/7KVM: VMX: Add PAT support for EPTarch/x86/kvm/vmx.c arch/x86/kvm/vmx.h+26 -30 replies
3/7x86: Rename mtrr_state struct and macro namesarch/x86/kernel/cpu/mtrr/generic.c arch/x86/kernel/cpu/mtrr/main.c arch/x86/kernel/cpu/mtrr/mtrr.h+10 -90 replies
4/7Export some definition of MTRRarch/x86/kernel/cpu/mtrr/generic.c arch/x86/kernel/cpu/mtrr/mtrr.h include/asm-x86/mtrr.h+28 -260 replies
5/7KVM: Improve MTRR structurearch/x86/kvm/x86.c include/asm-x86/kvm_host.h+63 -30 replies
6/7Add local get_mtrr_type() to support MTRRarch/x86/kvm/mmu.c+104 -00 replies
7/7Enable MTRR for EPTarch/x86/kvm/mmu.c arch/x86/kvm/svm.c arch/x86/kvm/vmx.c +2 more+28 -60 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/7] Enable MTRR/PAT support for KVM EPT(v2)

Hi, Avi

Here is the update patchset of enable MTRR/PAT support for KVM, and the last patch enabled EPT support. The shadow support would follow later, I am still doing some clean up work.

The change from v1 including bug fix and rename of GUEST_PAT support according to the newly published spec. For MTRR, I reuse host mtrr struct rather than duplicate the part of work. This is mostly for the preparation of shadow MTRR/PAT support.

I think last time you mentioned you have a draft patch for extra MSR save/restore on hand? If you are busy on other things, I can take it over.

Thanks!
--
regards
Yang, Sheng