diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-09-03 17:24:22 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-11 09:35:41 -0700 |
| commit | 6ecd351628f3493060fdd02d8044712ba7af094a (patch) | |
| tree | cf642151565b731c20d9ddd5397fe43c14c49e06 /tools/perf/scripts/python/bin | |
| parent | 68b94d08f9dcff3954c4f5baa7f2c5faa828b625 (diff) | |
KVM: selftests: Always assert that vmwrite() succeeds
Assert that vmwrite() succeeds instead of forcing all callers to do the
same (or as is much more common, ignoring VM-Fail and likely letting the
test fail in weird ways), opportunistically provide a more verbose error
message on failure.
All usage of vmwrite() "guarantees" success, either because the field in
question is unconditionally emulated by KVM, by virtue of earlier support
checks, or by falling over (later in the test) if the VMWRITE fails.
Cc: Yosry Ahmed <yosry@kernel.org>
Link: https://patch.msgid.link/20260904002423.3154436-17-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
