diff options
| author | 2021-12-07 22:09:26 +0000 | |
|---|---|---|
| committer | 2022-02-10 13:50:36 -0500 | |
| commit | 413af6601f7613c07d8c36b57e184d7841ace43a (patch) | |
| tree | a27a6aa6ca34038283ef8532b3def152cb9c8f15 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | KVM: x86: Reject fixeds-size Hyper-V hypercalls with non-zero "var_cnt" (diff) | |
KVM: x86: Add checks for reserved-to-zero Hyper-V hypercall fields
Add checks for the three fields in Hyper-V's hypercall params that must
be zero. Per the TLFS, HV_STATUS_INVALID_HYPERCALL_INPUT is returned if
"A reserved bit in the specified hypercall input value is non-zero."
Note, some versions of the TLFS have an off-by-one bug for the last
reserved field, and define it as being bits 64:60. See
https://github.com/MicrosoftDocs/Virtualization-Documentation/pull/1682.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20211207220926.718794-9-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
