]> git.ipfire.org Git - thirdparty/systemd.git/commit
virt: support detection of Apple Virtualization guests with cpuid
authorBlack-Hole1 <bh@bugs.cc>
Fri, 19 Jan 2024 03:38:49 +0000 (11:38 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Jan 2024 05:47:24 +0000 (14:47 +0900)
commit5a02a9adb2c8f45420aa1c0383d298a248811b01
tree0c7be4cf60ebe3fc0a05b24b13335c44d99b2b96
parent4abb8d7b0b270853a072bfbd7951afec0e5d4c19
virt: support detection of Apple Virtualization guests with cpuid

This is a supplement to #24419. On macOS Intel machines, detection needs to be done through cpuid.
In macOS, `dmi_vendors` detection is only applicable to M series.

Signed-off-by: Black-Hole1 <bh@bugs.cc>
src/basic/virt.c