diff options
| author | Avi Kivity <avi@redhat.com> | 2011-11-09 15:44:36 +0200 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-11-09 12:06:20 -0600 |
| commit | 66e3dd9282141b5ae75637c9676002cf3ceeb988 (patch) | |
| tree | 2969dfbd9358905cc0de86a422e5b3098710fd98 /hw/qdev.c | |
| parent | 4f26f2b6f2fba52b13f4c2ad1790f46c96a0923e (diff) | |
| download | focaccia-qemu-66e3dd9282141b5ae75637c9676002cf3ceeb988.tar.gz focaccia-qemu-66e3dd9282141b5ae75637c9676002cf3ceeb988.zip | |
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 'hw/qdev.c')
0 files changed, 0 insertions, 0 deletions