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:
97682ff
)
Add note about dmidecode on non-PC architectures (thanks Matt Booth).
author
Richard W.M. Jones
<rjones@redhat.com>
Tue, 1 Feb 2011 14:46:25 +0000
(14:46 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Tue, 1 Feb 2011 14:46:25 +0000
(14:46 +0000)
virt-what.in
patch
|
blob
|
history
diff --git
a/virt-what.in
b/virt-what.in
index
870c09b
..
e0fdf5b
100644
(file)
--- a/
virt-what.in
+++ b/
virt-what.in
@@
-81,6
+81,9
@@
fi
cpuid=`virt-what-cpuid-helper`
# Check for various products in the BIOS information.
+# Note that dmidecode doesn't exist on non-PC architectures. On these,
+# this will return an error which is ignored (error message redirected
+# into $dmi variable).
dmi=`LANG=C dmidecode 2>&1`