aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi-gen.py
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2021-06-08 14:08:14 +0200
committerEduardo Habkost <ehabkost@redhat.com>2021-07-13 09:13:29 -0400
commit5ce48fa354f2270731e20f81dbb7ff191630c321 (patch)
tree23ef717a76b6ce4c04ecfcc2aefade2be097ddd8 /scripts/qapi-gen.py
parent071ce4b03becf9e2df6b758fde9609be8ddf56f1 (diff)
downloadqemu-5ce48fa354f2270731e20f81dbb7ff191630c321.zip
qemu-5ce48fa354f2270731e20f81dbb7ff191630c321.tar.gz
qemu-5ce48fa354f2270731e20f81dbb7ff191630c321.tar.bz2
i386: kill off hv_cpuid_check_and_set()
hv_cpuid_check_and_set() does too much: - Checks if the feature is supported by KVM; - Checks if all dependencies are enabled; - Sets the feature bit in cpu->hyperv_features for 'passthrough' mode. To reduce the complexity, move all the logic except for dependencies check out of it. Also, in 'passthrough' mode we don't really need to check dependencies because KVM is supposed to provide a consistent set anyway. Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Message-Id: <20210608120817.1325125-7-vkuznets@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'scripts/qapi-gen.py')
0 files changed, 0 insertions, 0 deletions