|
| From: | Richard Henderson |
| Subject: | Re: [PATCH 07/12] tests/plugin/insn: migrate to new per_vcpu API |
| Date: | Fri, 12 Jan 2024 09:14:06 +1100 |
| User-agent: | Mozilla Thunderbird |
On 1/12/24 01:23, Pierrick Bouvier wrote:
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> --- tests/plugin/insn.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
@@ -195,6 +200,7 @@ QEMU_PLUGIN_EXPORT int qemu_plugin_install(qemu_plugin_id_t
id,
fprintf(stderr, "boolean argument parsing failed: %s\n", opt);
return -1;
}
+ g_assert(info->system.smp_vcpus <= MAX_CPUS);
Alex, can we do better than aborting here? r~
| [Prev in Thread] | Current Thread | [Next in Thread] |