diff options
author | Vitaly Kuznetsov <[email protected]> | 2021-07-30 14:26:24 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-08-03 06:16:40 -0400 |
commit | 4e62aa96d6e55c1b2a4e841f1f8601eae81e81ae (patch) | |
tree | e7fde0f3c3d99e2c8f032f2642ceb2c079b3657c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f5714bbb5b3120b33dfbf3d81ffc0b98ae4cd4c1 (diff) |
KVM: x86: hyper-v: Check if guest is allowed to use XMM registers for hypercall input
TLFS states that "Availability of the XMM fast hypercall interface is
indicated via the “Hypervisor Feature Identification” CPUID Leaf
(0x40000003, see section 2.4.4) ... Any attempt to use this interface
when the hypervisor does not indicate availability will result in a #UD
fault."
Implement the check for 'strict' mode (KVM_CAP_HYPERV_ENFORCE_CPUID).
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Siddharth Chandrasekaran <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions