diff options
| author | Vitaly Kuznetsov <[email protected]> | 2020-09-29 17:09:43 +0200 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-11-15 09:49:11 -0500 |
| commit | c21d54f0307ff42a346294899107b570b98c47b5 (patch) | |
| tree | 4a1f60de45aacaec33058ec3cd4c8712b3d8cabd /tools/testing/selftests/kvm/lib/kvm_util.c | |
| parent | b59e00dd8cda75fc8303c9f6847ac720b10664e3 (diff) | |
KVM: x86: hyper-v: allow KVM_GET_SUPPORTED_HV_CPUID as a system ioctl
KVM_GET_SUPPORTED_HV_CPUID is a vCPU ioctl but its output is now
independent from vCPU and in some cases VMMs may want to use it as a system
ioctl instead. In particular, QEMU doesn CPU feature expansion before any
vCPU gets created so KVM_GET_SUPPORTED_HV_CPUID can't be used.
Convert KVM_GET_SUPPORTED_HV_CPUID to 'dual' system/vCPU ioctl with the
same meaning.
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/kvm_util.c')
0 files changed, 0 insertions, 0 deletions