mirror of https://gitee.com/openkylin/qemu.git
target-i386: Improve -cpu ? features output
We were missing a bunch of feature lists. Fix this by simply dumping the meta list feature_word_info. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
21ad77892d
commit
3af60be28c
|
@ -1470,14 +1470,12 @@ void x86_cpu_list(FILE *f, fprintf_function cpu_fprintf)
|
|||
#endif
|
||||
|
||||
(*cpu_fprintf)(f, "\nRecognized CPUID flags:\n");
|
||||
listflags(buf, sizeof(buf), (uint32_t)~0, feature_name, 1);
|
||||
(*cpu_fprintf)(f, " %s\n", buf);
|
||||
listflags(buf, sizeof(buf), (uint32_t)~0, ext_feature_name, 1);
|
||||
(*cpu_fprintf)(f, " %s\n", buf);
|
||||
listflags(buf, sizeof(buf), (uint32_t)~0, ext2_feature_name, 1);
|
||||
(*cpu_fprintf)(f, " %s\n", buf);
|
||||
listflags(buf, sizeof(buf), (uint32_t)~0, ext3_feature_name, 1);
|
||||
(*cpu_fprintf)(f, " %s\n", buf);
|
||||
for (i = 0; i < ARRAY_SIZE(feature_word_info); i++) {
|
||||
FeatureWordInfo *fw = &feature_word_info[i];
|
||||
|
||||
listflags(buf, sizeof(buf), (uint32_t)~0, fw->feat_names, 1);
|
||||
(*cpu_fprintf)(f, " %s\n", buf);
|
||||
}
|
||||
}
|
||||
|
||||
CpuDefinitionInfoList *arch_query_cpu_definitions(Error **errp)
|
||||
|
|
Loading…
Reference in New Issue