aboutsummaryrefslogtreecommitdiff
path: root/dis-asm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-11-09 15:44:36 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-09 12:06:20 -0600
commit66e3dd9282141b5ae75637c9676002cf3ceeb988 (patch)
tree2969dfbd9358905cc0de86a422e5b3098710fd98 /dis-asm.h
parent4f26f2b6f2fba52b13f4c2ad1790f46c96a0923e (diff)
i386: derive '-cpu host' from KVM_GET_SUPPORTED_CPUID
The fact that a host cpu supports a feature doesn't mean that QEMU and KVM will also support it, yet -cpuid host brings host features wholesale. We need to whitelist each feature separately to make sure we support it. This patch adds KVM whitelisting (by simply using KVM_GET_SUPPORTED_CPUID instead of the CPUID instruction). Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'dis-asm.h')
0 files changed, 0 insertions, 0 deletions