Re: [kvm-unit-tests PATCH v2 0/2] Couple of SVM unit test fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13/08/21 00:46, Babu Moger wrote:
This series fixes couple of unittest failures for SVM.
1.The test ./x86/access is failing with timeout.
2.The test ./x86/svm failure with infinite loop.
---
v2:
  1. Modified the check in ac_test_legal to limit the number of test
     combinations based on comments from Paolo Bonzini and Sean Christopherson.
  2. Changed the rdrand function's retry method. Kept the retry outside the
     function. Tom Lendacky commented that RDRAND instruction can sometimes
     loop forever without setting the carry flag.
v1:
  https://lore.kernel.org/kvm/162826604263.32391.7580736822527851972.stgit@bmoger-ubuntu/

Babu Moger (2):
       x86: access: Fix timeout failure by limiting number of tests
       nSVM: Fix NPT reserved bits test hang


  lib/x86/processor.h |   11 +++++++++++
  x86/access.c        |   11 +++++++----
  x86/svm_tests.c     |   28 ++++++++++++++++++++++++----
  3 files changed, 42 insertions(+), 8 deletions(-)

--


Applied, thanks. I'm looking at a few more limits to the number of tests as well as optimizations to ac_emulate_access, which should reduce the runtime further.

Paolo




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux