[systemd-bugs] [Bug 61491] systemd-detect-virt and hostnamectl fail to detect Xen PV

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 6 08:13:18 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61491

--- Comment #1 from Lennart Poettering <lennart at poettering.net> ---
Hmm, the current code looks for the CPUID virtualization leaf and for the DMI
vendor information. Are you suggesting that detecting Xen with that is not
possible anymore?

http://cgit.freedesktop.org/systemd/systemd/tree/src/shared/virt.c#n33

Supporting /sys/hypervisor/type sounds like a good thing, but if the CPUID
stuff/DMI stuff could be made work then I'd prefer that.

Could you paste "grep . /sys/class/dmi/id/*" on your xen guest?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20130306/049d15d9/attachment.html>


More information about the systemd-bugs mailing list