<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#c14">Comment # 14</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:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span></b>
<pre>Please provide a git-format-patch formatted patch.
Also, unless > 0 is returned from the call you shouldn't set *id.
Please keep variable declarations local to the block you need them in.
Checking for the feature with a simple strstr() sounds wrong, you need to check
for separators before/behind it too.
I see no reason to distuingish "xen" from "xen-domU". We probably shouldn't
consider xen-dom0 virtualization at all, and everything else should just be
"xen".</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>