KVM: VMX: MSR intercept/passthrough cleanup and simplification
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: VMX: fix comment to add LBR to passthrough MSRsarch/ | +1 | 0 replies | |
| 2/3 | KVM: VMX: return early if msr_bitmap is not supportedarch/ | +3 | 0 replies | |
| 3/3 | KVM: VMX: simplify MSR interception enable/disablearch/ | +28 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] KVM: VMX: MSR intercept/passthrough cleanup and simplification
The 1st patch is to fix a comment.
The 2nd patch is to avoid running into many vmx_enable_intercept_for_msr() or vmx_disable_intercept_for_msr() that may return immediately, when vmx_msr_bitmap is not supported.
The 3rd patch is to simplify vmx_enable_intercept_for_msr() and vmx_disable_intercept_for_msr(), to avoid calling possible_passthrough_msr_slot() twice.
Thank you very much!
Dongli Zhang (3):
KVM: VMX: fix comment to add LBR to passthrough MSRs
KVM: VMX: return early if msr_bitmap is not supported
KVM: VMX: simplify MSR interception enable/disable
arch/x86/kvm/vmx/vmx.c | 60 ++++++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 28 deletions(-)
base-commit: 7455665a3521aa7b56245c0a2810f748adc5fdd4