On 23/03/21 18:50, Krish Sadhukhan wrote:
v4 -> v5: 1. The fix in patch# 1 has been modified. We are queue'ing the pending #DB intercept via nested_svm_vmexit() if the VMRUN is found to be single-stepped. 2. In patch# 3, the assembly label for tracking the VMRUN RIP has been changed to u64* from void*. [PATCH 1/4 v5] KVM: nSVM: If VMRUN is single-stepped, queue the #DB [PATCH 2/4 v5] KVM: X86: Add a utility function to read current RIP [PATCH 3/4 v5] KVM: nSVM: Add assembly label to VMRUN instruction [PATCH 4/4 v5] nSVM: Test effect of host RFLAGS.TF on VMRUN arch/x86/kvm/svm/nested.c | 10 ++++++++++ 1 file changed, 10 insertions(+) Krish Sadhukhan (1): KVM: nSVM: If VMRUN is single-stepped, queue the #DB intercept in nested_svm_vmexit() lib/x86/processor.h | 7 ++++ x86/svm.c | 16 ++++++-- x86/svm_tests.c | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 134 insertions(+), 4 deletions(-) Krish Sadhukhan (3): KVM: X86: Add a utility function to read current RIP KVM: nSVM: Add assembly label to VMRUN instruction nSVM: Test effect of host RFLAGS.TF on VMRUN
Queued 1-3-4, 2 is not needed. Paolo