]> git.itanic.dy.fi Git - linux-stable/commit
KVM: selftests: Rename 'msr->available' to 'msr->fault_exepected' in hyperv_features...
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 13 Oct 2022 09:58:46 +0000 (11:58 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 28 Dec 2022 11:08:23 +0000 (06:08 -0500)
commit8b0a62fd3843360726541bfee75c599265413a95
tree32df7b2c5483d3ffb0225f9ac9fcff4a9b9daba0
parent4e5bf89f2794e99d8d61b2fcb4a8f2d29963a532
KVM: selftests: Rename 'msr->available' to 'msr->fault_exepected' in hyperv_features test

It may not be clear what 'msr->available' means. The test actually
checks that accessing the particular MSR doesn't cause #GP, rename
the variable accordingly.

While on it, use 'true'/'false' instead of '1'/'0' for 'write'/
'fault_expected' as these are boolean.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221013095849.705943-5-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/hyperv_features.c