chiark / gitweb /
detect-virt: detect in best-heuristic order
authorAndrew Jones <drjones@redhat.com>
Tue, 3 Nov 2015 20:49:38 +0000 (14:49 -0600)
committerSven Eden <yamakuzure@gmx.net>
Wed, 26 Apr 2017 10:58:55 +0000 (12:58 +0200)
commit5f2c0c299aadb2d24d94597ccc61179f000e1583
tree07607279b0cf88d02c37d265b7716e16299260d3
parent5d945323d594ac23a43d9936c7e2f5266776a7b1
detect-virt: detect in best-heuristic order

afaict, this will fix a regression caused by commit 75f86906c5.
Where we used to report "kvm" before that patch, without this patch,
we would only report "qemu". The reason is because cpuid detection
must come before dmi detection. Also, both can safely come before
other xen heuristics. Untested.
src/basic/virt.c