diff options
author | Sean Christopherson <seanjc@google.com> | 2022-12-09 23:55:44 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-12-27 14:00:49 +0300 |
commit | 2f5213b8fc311eaa8fc78de7ecbd27ead027993c (patch) | |
tree | 60701f5f9e1cc956a56bd51dd0969c498b9f037d /tools/perf/scripts/python/task-analyzer.py | |
parent | db7b780dab6742a8358ae7ecb1d0e972ccea8737 (diff) | |
download | linux-2f5213b8fc311eaa8fc78de7ecbd27ead027993c.tar.xz |
KVM: selftests: Use magic value to signal ucall_alloc() failure
Use a magic value to signal a ucall_alloc() failure instead of simply
doing GUEST_ASSERT(). GUEST_ASSERT() relies on ucall_alloc() and so a
failure puts the guest into an infinite loop.
Use -1 as the magic value, as a real ucall struct should never wrap.
Reported-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions