Re: [Qemu-devel] [PATCH for-2.12] i386: Don't automatically enable FEAT_KVM_HINTS bits

2018-04-10 Thread Wanpeng Li
2018-04-11 5:15 GMT+08:00 Eduardo Habkost : > 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

[Qemu-devel] [PATCH for-2.12] i386: Don't automatically enable FEAT_KVM_HINTS bits

2018-04-10 Thread Eduardo Habkost
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