Skip to content
Snippets Groups Projects
Commit 0d914f39 authored by Eduardo Habkost's avatar Eduardo Habkost
Browse files

i386: Don't automatically enable FEAT_KVM_HINTS bits


The assumption in the cpu->max_features code is that anything
enabled on GET_SUPPORTED_CPUID should be enabled on "-cpu host".
This shouldn't be the case for FEAT_KVM_HINTS.

This adds a new FeatureWordInfo::no_autoenable_flags field, that
can be used to prevent FEAT_KVM_HINTS bits to be enabled
automatically.

Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
Message-Id: <20180410211534.26079-1-ehabkost@redhat.com>
Tested-by: default avatarWanpeng Li <wanpengli@tencent.com>
Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
parent 042f6a31
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment