Skip to content

KVM: SVM: baby steps towards nested state migration

Paolo Bonzini kvm lkml 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: SVM: move map argument out of enter_svm_guest_modearch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+9 -100 replies
2/7KVM: SVM: extract load_nested_vmcb_controlarch/x86/kvm/svm/nested.c+25 -202 replies
3/7KVM: SVM: extract preparation of VMCB for nested runarch/x86/kvm/svm/nested.c+25 -171 reply
4/7KVM: SVM: save all control fields in svm->nestedarch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h+44 -210 replies
5/7KVM: nSVM: remove HF_VINTR_MASKarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm/nested.c arch/x86/kvm/svm/svm.c +1 more+8 -110 replies
6/7KVM: nSVM: do not reload pause filter fields from VMCBarch/x86/kvm/svm/nested.c+0 -50 replies
7/7KVM: SVM: introduce data structures for nested virt statearch/x86/include/uapi/asm/kvm.h+20 -10 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKrish Sadhukhan
SeriesR-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] KVM: SVM: baby steps towards nested state migration

Here are some refactorings to prepare for an SVM implementation of KVM_SET_NESTED_STATE. It's a prerequisite for that to eliminate exit_required, moving exceptions to svm_check_nested_events. However:

- I might work on that soon, because it's needed to handle RSM when the L1 hypervisor wants to get it from #UD rather than the specific RSM intercept

- this should be enough to get a quick prototype, that I need in order to debug a particularly crazy bug and figure out its reproducibility.

So, I am getting these patches out of my todo list for now.

Thanks,

Paolo

Paolo Bonzini (7):
KVM: SVM: move map argument out of enter_svm_guest_mode
KVM: SVM: extract load_nested_vmcb_control
KVM: SVM: extract preparation of VMCB for nested run
KVM: SVM: save all control fields in svm->nested
KVM: nSVM: remove HF_VINTR_MASK
KVM: nSVM: do not reload pause filter fields from VMCB
KVM: SVM: introduce data structures for nested virt state

 arch/x86/include/asm/kvm_host.h |   1 -
 arch/x86/include/uapi/asm/kvm.h |  26 +++++++-
 arch/x86/kvm/svm/nested.c       | 115 +++++++++++++++++---------------
 arch/x86/kvm/svm/svm.c          |  11 ++-
 arch/x86/kvm/svm/svm.h          |  28 +++++---
 5 files changed, 116 insertions(+), 65 deletions(-)
Signature · 1 line
2.18.2