git.annexia.org
/
virt-what.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
659b0fe
)
Detect new Xen VMs (RHBZ#973663).
author
nodata
<lsof@nodata.co.uk>
Mon, 2 Sep 2013 15:59:32 +0000
(16:59 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 31 Oct 2016 10:14:41 +0000
(06:14 -0400)
(cherry picked from commit
acd6bec92a99550ad98011d44f6381fdf7fa5992
)
virt-what.in
patch
|
blob
|
history
diff --git
a/virt-what.in
b/virt-what.in
index
422f6d0
..
bf663aa
100644
(file)
--- a/
virt-what.in
+++ b/
virt-what.in
@@
-197,7
+197,7
@@
fi
if [ "$cpuid" = "XenVMMXenVMM" ]; then
echo xen; echo xen-hvm
skip_qemu_kvm=true
-elif [ -
f "${root}/proc/xen/capabilities
" ]; then
+elif [ -
d "${root}/proc/xen
" ]; then
echo xen
if grep -q "control_d" "${root}/proc/xen/capabilities"; then
echo xen-dom0