From: Richard W.M. Jones Date: Thu, 26 May 2011 14:40:59 +0000 (+0100) Subject: Add IA64-specific tests for virtualization (RHBZ#707508). X-Git-Tag: 1.11~2 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3ea952163f0c28cd88f8473bb015df892c4247bf;hp=3ea952163f0c28cd88f8473bb015df892c4247bf;p=virt-what.git Add IA64-specific tests for virtualization (RHBZ#707508). Xen IA64 HVM does not provide a simple way to detect the hypervisor. If we are lucky and PV-on-HVM drivers are installed and loaded, then there will be a /sys/bus/xen directory. Otherwise we add a timing attack to see if we can detect generic virtualization. Since this is a big hack, it is only enabled on IA64 and only used when all other methods of detection have failed. This commit also adds `uname -p` to all tests (enabling arch detection so we only run the above tests on IA64). ---