diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2019-09-27 17:54:13 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-09-27 18:05:25 +0200 |
commit | 2e4a75976dfb88ee6ce019b1d4fa507aabd02c14 (patch) | |
tree | 029083504ca14d39ae9f051583f37d9df0b312a7 /include | |
parent | 19a36d329f5b1e5d3d06f7093de992693d0fdee6 (diff) | |
download | linux-2e4a75976dfb88ee6ce019b1d4fa507aabd02c14.tar.bz2 |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions