Skip to content

KVM: x86: dump_vmcs: don't assume GUEST_IA32_EFER, show MSR autoloads/autosaves

David Edmondson kvm lkml 5 versions – Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 2 repliesApplied
  2. v45 patches 0 repliesSuperseded
  3. v35 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches7 repliesSuperseded
v11 patch7 repliesSuperseded

Changes in v5 from the cover letter

- Rebase.
- Remove some cruft from changeset comments.
- Add S-by as appropriate.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/5KVM: x86: dump_vmcs should not assume GUEST_IA32_EFER is validarch/x86/kvm/vmx/vmx.c+3 -60 replies
2/5KVM: x86: dump_vmcs should not conflate EFER and PAT presence in VMCSarch/x86/kvm/vmx/vmx.c+10 -90 replies
3/5KVM: x86: dump_vmcs should consider only the load controls of EFER/PATarch/x86/kvm/vmx/vmx.c+2 -40 replies
4/5KVM: x86: dump_vmcs should show the effective EFERarch/x86/kvm/vmx/vmx.c arch/x86/kvm/vmx/vmx.h+17 -50 replies
5/5KVM: x86: dump_vmcs should include the autoload/autostore MSR listsarch/x86/kvm/vmx/vmx.c+16 -00 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH v5 0/5] KVM: x86: dump_vmcs: don't assume GUEST_IA32_EFER, show MSR autoloads/autosaves

v2:
- Don't use vcpu->arch.efer when GUEST_IA32_EFER is not available (Paolo).
- Dump the MSR autoload/autosave lists (Paolo).

v3:
- Rebase to master.
- Check only the load controls (Sean).
- Always show the PTPRs from the VMCS if they exist (Jim/Sean).
- Dig EFER out of the MSR autoload list if it's there (Paulo).
- Calculate and show the effective EFER if it is not coming from either the VMCS or the MSR autoload list (Sean).

v4:
- Ensure that each changeset builds with just the previous set.

v5:
- Rebase.
- Remove some cruft from changeset comments.
- Add S-by as appropriate.

David Edmondson (5):
KVM: x86: dump_vmcs should not assume GUEST_IA32_EFER is valid
KVM: x86: dump_vmcs should not conflate EFER and PAT presence in VMCS
KVM: x86: dump_vmcs should consider only the load controls of EFER/PAT
KVM: x86: dump_vmcs should show the effective EFER
KVM: x86: dump_vmcs should include the autoload/autostore MSR lists

 arch/x86/kvm/vmx/vmx.c | 58 +++++++++++++++++++++++++++++-------------
 arch/x86/kvm/vmx/vmx.h |  2 +-
 2 files changed, 42 insertions(+), 18 deletions(-)
Signature · 1 line
2.30.2