diff options
| author | Sean Christopherson <[email protected]> | 2021-12-07 22:09:26 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-02-10 13:50:36 -0500 |
| commit | 413af6601f7613c07d8c36b57e184d7841ace43a (patch) | |
| tree | a27a6aa6ca34038283ef8532b3def152cb9c8f15 /tools/perf/scripts/python/netdev-times.py | |
| parent | 40421f38f63764cd41b01c17e2a1fbbe08a1515a (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 <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions