lkml.org 
[lkml]   [2020]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] KVM: SVM: baby steps towards nested state migration
Date
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(-)

--
2.18.2

\
 
 \ /
  Last update: 2020-05-15 19:42    [W:0.118 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site