linux_dsm_epyc7002/tools/testing/selftests/kvm
Vitaly Kuznetsov 2e4a75976d KVM: selftests: x86: clarify what is reported on KVM_GET_MSRS failure
When KVM_GET_MSRS fail the report looks like

==== Test Assertion Failure ====
  lib/x86_64/processor.c:1089: r == nmsrs
  pid=28775 tid=28775 - Argument list too long
     1	0x000000000040a55f: vcpu_save_state at processor.c:1088 (discriminator 3)
     2	0x00000000004010e3: main at state_test.c:171 (discriminator 4)
     3	0x00007fb8e69223d4: ?? ??:0
     4	0x0000000000401287: _start at ??:?
  Unexpected result from KVM_GET_MSRS, r: 36 (failed at 194)

and it's not obvious that '194' here is the failed MSR index and that
it's printed in hex. Change that.

Suggested-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-09-27 18:05:25 +02:00
..
include selftests: kvm: add test for dirty logging inside nested guests 2019-09-27 13:13:40 +02:00
lib KVM: selftests: x86: clarify what is reported on KVM_GET_MSRS failure 2019-09-27 18:05:25 +02:00
s390x KVM: selftests: Test invalid bits in kvm_valid_regs and kvm_dirty_regs on s390x 2019-09-04 15:38:05 +02:00
x86_64 selftests: kvm: add test for dirty logging inside nested guests 2019-09-27 13:13:40 +02:00
.gitignore KVM: selftests: Update gitignore file for latest changes 2019-08-09 16:50:09 +02:00
clear_dirty_log_test.c kvm: introduce manual dirty log reprotect 2018-12-14 12:34:19 +01:00
config selftests: kvm: Adding config fragments 2019-08-09 16:52:38 +02:00
dirty_log_test.c KVM: selftests: Remove duplicate guest mode handling 2019-09-24 13:37:24 +02:00
kvm_create_max_vcpus.c KVM: s390: add kselftests 2019-07-15 13:28:58 +02:00
Makefile selftests: kvm: add test for dirty logging inside nested guests 2019-09-27 13:13:40 +02:00