From: Bibo Mao <[email protected]> Feature msgint and ptw is missing with QMP method, such as: query-cpu-model-expansion type=static model={"name":"max"}
Here add missing features in cpu_model_advertised_features array. Signed-off-by: Bibo Mao <[email protected]> Reviewed-by: Song Gao <[email protected]> Signed-off-by: Song Gao <[email protected]> --- target/loongarch/loongarch-qmp-cmds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/loongarch/loongarch-qmp-cmds.c b/target/loongarch/loongarch-qmp-cmds.c index 1d8cd32f5f..f89f67ce47 100644 --- a/target/loongarch/loongarch-qmp-cmds.c +++ b/target/loongarch/loongarch-qmp-cmds.c @@ -41,7 +41,8 @@ CpuDefinitionInfoList *qmp_query_cpu_definitions(Error **errp) } static const char *cpu_model_advertised_features[] = { - "lsx", "lasx", "lbt", "pmu", "kvm-pv-ipi", "kvm-steal-time", NULL + "lsx", "lasx", "lbt", "pmu", "kvm-pv-ipi", "kvm-steal-time", "msgint", + "ptw", NULL }; CpuModelExpansionInfo *qmp_query_cpu_model_expansion(CpuModelExpansionType type, -- 2.52.0
