Fix support for Hyper-V on Arm
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 2 Jul 2024 08:45:10 +0000 (08:45 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 2 Jul 2024 08:51:52 +0000 (09:51 +0100)
commit128d73c47ef90ca871966a5417962836f9f359f1
tree65334890b4e58c29e369e7cc49d1fad569508b8b
parentd163be00395030039fbdb09e0092667408705044
Fix support for Hyper-V on Arm

This architecture lacks CPUID so we must fall back to looking
at DMI data instead.

Reported-by: Yuxin Sun
Thanks: Dan Berrange
Fixes: https://issues.redhat.com/browse/RHEL-45834
(cherry picked from commit 49a17ec8438d01280750d52ae661c8c5c9fe9d07)
configure.ac
tests/hyperv-arm/Makefile.am [new file with mode: 0644]
tests/hyperv-arm/proc/cpuinfo [new file with mode: 0644]
tests/hyperv-arm/proc/self/status [new file with mode: 0644]
tests/hyperv-arm/sbin/dmidecode [new file with mode: 0755]
tests/hyperv-arm/sbin/uname [new file with mode: 0755]
tests/hyperv-arm/sbin/virt-what-cpuid-helper [new file with mode: 0755]
tests/hyperv-arm/test.sh [new file with mode: 0755]
virt-what.in