diff options
author | Vitaly Kuznetsov | 2021-04-22 18:11:25 +0200 |
---|---|---|
committer | Eduardo Habkost | 2021-05-31 21:53:03 +0200 |
commit | 5aa9ef5e4bb8194e66c4b62d8fe7ef8392786a9f (patch) | |
tree | 3dc198da30539bc2b5028019bc8e10df03a3b84c /linux-headers/linux/virtio_ring.h | |
parent | i386: prefer system KVM_GET_SUPPORTED_HV_CPUID ioctl over vCPU's one (diff) | |
download | qemu-5aa9ef5e4bb8194e66c4b62d8fe7ef8392786a9f.tar.gz qemu-5aa9ef5e4bb8194e66c4b62d8fe7ef8392786a9f.tar.xz qemu-5aa9ef5e4bb8194e66c4b62d8fe7ef8392786a9f.zip |
i386: use global kvm_state in hyperv_enabled() check
There is no need to use vCPU-specific kvm state in hyperv_enabled() check
and we need to do that when feature expansion happens early, before vCPU
specific KVM state is created.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20210422161130.652779-15-vkuznets@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'linux-headers/linux/virtio_ring.h')
0 files changed, 0 insertions, 0 deletions