]> xenbits.xensource.com Git - libvirt.git/commit
cpuCompare: Fix comparison of two host CPUs
authorJiri Denemark <jdenemar@redhat.com>
Mon, 12 Jul 2010 12:41:36 +0000 (14:41 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 12 Jul 2010 17:45:22 +0000 (19:45 +0200)
commitac3daf0899cced61faeeed3c6e14806d9e846174
tree1087f716f52f2e9f88199311d8b87f5a776a4075
parent4677b06428d54c6f7e6063e82313bc26f1677fd3
cpuCompare: Fix comparison of two host CPUs

When a CPU to be compared with host CPU describes a host CPU instead of
a guest CPU, the result is incorrect. This is because instead of
treating additional features in host CPU description as required, they
were treated as if they were mentioned with all possible policies at the
same time.
src/cpu/cpu_x86.c