Xen dom0 support for virt-what seems broken
daniele at retaggio.net
Tue Oct 19 01:55:39 UTC 2021
First, i'm new to this list.
Therefore, hi everyone once again.
I was upgrading on a Gentoo server virt-what from 1.18 to 1.21.
Suddenly, facter reported that
is_virtual = true.
I've tracked this down to:
xen-lipi-1 ~ # /usr/libexec/virt-what-cpuid-helper
xen-lipi-1 ~ # virt-what
xen-lipi-1 ~ #
xen-lipi-4 ~ # /usr/libexec/virt-what-cpuid-helper
xen-lipi-4 ~ # virt-what
xen-lipi-4 ~ #
This seems anyhow to be a change between v1.20 and v1.21 in virt-what-cpuid-helper.c:
+known_signature (const char *sig)
+ strcmp (sig, "XenVMMXenVMM") == 0 ||
If we go back to virt-what.in:
# Check for Xen.
if [ "$cpuid" = "XenVMMXenVMM" ] &&
! echo "$dmi" | grep -q 'No SMBIOS nor DMI entry point found, sorry'; then
echo xen; echo xen-hvm
Therefore the output will always be
Which seems to not contain xen-dom0, so i would say that the problem is in virt-what.
If i'm wrong, and the problem is in facter, i would happily report a but there.
More information about the virt-tools-list