]> git.ipfire.org Git - thirdparty/systemd.git/commit
detect-virt: bare-metal GCE only for x86 and i386
authorkeentux <val.lefebvre@proton.me>
Wed, 13 Aug 2025 07:52:12 +0000 (09:52 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 13 Aug 2025 12:16:19 +0000 (21:16 +0900)
commit3e14d02500cd213a4a364961125c4e39423b51e5
treead831965af32d47149640dd07a8a5d1a200dab08
parent13358b7ce2bfd2a08e2fe684aa0801a68f81e9ca
detect-virt: bare-metal GCE only for x86 and i386

From the previous changes, bare-metal support has been added by using
the `detect_vm_cpuid()` which works only for x86_64 and i386 architecture.
Do not use this change for other architectures to avoid wrong result of
the detect-virt tool.

Follow-up for fb71571d3a4efddeb44f02939304be9007301974.
Fixes #38125.
src/basic/virt.c