diff options
| author | Zongyao Chen <ZongYao.Chen@linux.alibaba.com> | 2026-05-18 15:10:08 +0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-05-22 07:08:21 -0700 |
| commit | 2a3987540cab00c5b24a82ec6b4dc5d18e41e112 (patch) | |
| tree | 3bab590203cafae8cd82f82e7cb5846fd0bf0b1f /tools/lib/python | |
| parent | 41d37c42e0c637c88e02fc0bf6a7884e9719cc6a (diff) | |
KVM: selftests: Fix vcpu_get_stats_fd() ioctl name
vcpu_get_stats_fd() invokes KVM_GET_STATS_FD, but its assertion reports
KVM_CHECK_EXTENSION if the ioctl fails. Use KVM_GET_STATS_FD in the
assertion so failures point at the ioctl that actually failed.
Fixes: 1b78d474ce4e ("KVM: selftests: Add logic to detect if ioctl() failed because VM was killed")
Signed-off-by: Zongyao Chen <ZongYao.Chen@linux.alibaba.com>
Link: https://patch.msgid.link/20260518071008.2091335-1-ZongYao.Chen@linux.alibaba.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
