detect-virt: detect hyperv-enlightened qemu as qemu, not as hyperv
authorLennart Poettering <lennart@poettering.net>
Fri, 19 Apr 2024 11:25:55 +0000 (13:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 20 Apr 2024 10:10:42 +0000 (12:10 +0200)
commitcea9216a42bddee3621e2e6c3a56a1ec9ce90dd0
tree8cef4e6d3c34a8b149aa40dfdeab5333f2ab44b4
parent4a7cd0caad8d9f1f3ed7c4cfc6a66b4e94c28b4e
detect-virt: detect hyperv-enlightened qemu as qemu, not as hyperv

CPUID reporting hyperv should be taken with a grain of salt, and we
should prefer other mechanisms then.

Fixes: #28001
src/basic/virt.c