summaryrefslogtreecommitdiff
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-05-18 05:56:07 -0400
committerAvi Kivity <avi@redhat.com>2011-07-12 11:45:07 +0300
commit24c82e576b7860a4f02a21103e9df39e11e97006 (patch)
tree2b16caf22244df1611c168472e9f8e2108673095 /virt/kvm/kvm_main.c
parentbcdd9a93c57571652c887cb522176db741893581 (diff)
KVM: Sanitize cpuid
Instead of blacklisting known-unsupported cpuid leaves, whitelist known- supported leaves. This is more conservative and prevents us from reporting features we don't support. Also whitelist a few more leaves while at it. Signed-off-by: Avi Kivity <avi@redhat.com> Acked-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions