On 10/11/2017 08:54, Wanpeng Li wrote: > 2017-11-10 15:45 GMT+08:00 Wanpeng Li <kernellwp@xxxxxxxxx>: >> From: Wanpeng Li <wanpeng.li@xxxxxxxxxxx> >> >> Adds PV_TLB_FLUSH CPUID feature bit. >> >> Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx> >> Cc: Radim Krčmář <rkrcmar@xxxxxxxxxx> >> Cc: Richard Henderson <rth@xxxxxxxxxxx> >> Cc: Eduardo Habkost <ehabkost@xxxxxxxxxx> >> Signed-off-by: Wanpeng Li <wanpeng.li@xxxxxxxxxxx> >> --- >> target/i386/cpu.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/target/i386/cpu.c b/target/i386/cpu.c >> index 6f21a5e..ecebc5a 100644 >> --- a/target/i386/cpu.c >> +++ b/target/i386/cpu.c >> @@ -347,7 +347,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = { >> .feat_names = { >> "kvmclock", "kvm-nopiodelay", "kvm-mmu", "kvmclock", >> "kvm-asyncpf", "kvm-steal-time", "kvm-pv-eoi", "kvm-pv-unhalt", >> - NULL, NULL, NULL, NULL, >> + NULL, "kvm-pv-tlb-flush", NULL, NULL, > > Note: bit 8 is reserved for the PV_DEDICATED which is posted by > another guy in kvm community. > >> NULL, NULL, NULL, NULL, >> NULL, NULL, NULL, NULL, >> NULL, NULL, NULL, NULL, >> -- >> 2.7.4 >> I'd like PV_DEDICATED to be bit 0 in another feature word (it's a performance hint, not a feature), but it's okay to use bit 9. Paolo