<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - systemd-detect-virt and directive ConditionVirtualization wrongly return vm for xen dom0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77271#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - systemd-detect-virt and directive ConditionVirtualization wrongly return vm for xen dom0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77271">bug 77271</a>
              from <span class="vcard"><a class="email" href="mailto:Thomas.Blume@suse.com" title="Thomas Blume <Thomas.Blume@suse.com>"> <span class="fn">Thomas Blume</span></a>
</span></b>
        <pre>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:

<a href="http://wiki.xenproject.org/wiki/Xen_FAQ_Design_and_in_Depth">http://wiki.xenproject.org/wiki/Xen_FAQ_Design_and_in_Depth</a>

below:

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

which one would work for you?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>