summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-12-09 23:55:44 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2022-12-27 14:00:49 +0300
commit2f5213b8fc311eaa8fc78de7ecbd27ead027993c (patch)
tree60701f5f9e1cc956a56bd51dd0969c498b9f037d /tools/perf/scripts/python
parentdb7b780dab6742a8358ae7ecb1d0e972ccea8737 (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions