[systemd-bugs] [Bug 77271] systemd-detect-virt and directive ConditionVirtualization wrongly return vm for xen dom0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 22 00:09:04 PDT 2014


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

--- Comment #3 from Thomas Blume <Thomas.Blume at suse.com> ---
Hm, I've found that using /proc/xen/capabilities is widely used to identifiy
dom0 versus domU.
If this is not general enough, there are other possibilities listet at:

http://wiki.xenproject.org/wiki/Xen_FAQ_Design_and_in_Depth

below:

"How can I tell if my OS is running on a physical machine or a virtual machine
?"

which one would work for you?

-- 
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/20140422/2f53fd92/attachment.html>


More information about the systemd-bugs mailing list