]> git.ipfire.org Git - oddments/fireinfo.git/commit
Xen (paravirtualized) hosts do not set the virtualiztion bit.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Nov 2010 19:38:42 +0000 (20:38 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 26 Nov 2010 19:38:42 +0000 (20:38 +0100)
commitf54ce566cb74672914ac2294827927eda4f9ceda
tree0d1f29714e26c0592ca95acdcddb9f28b720fdf5
parent5e2ba24ef8888fa8a44e6a28a8d3b5cfb2d0f0b8
Xen (paravirtualized) hosts do not set the virtualiztion bit.

However, some (or all) hypervisors set the "hypervisor" flags
so we could rely on that if the first check fails.

Thanks to Robert Möker for pointing that out.
fireinfo/hypervisor.py