migration: Fix up error message for max-cpu-throttle

Fixes: 1a739d3012 (migration: Do away with usage of QERR_INVALID_PARAMETER_VALUE)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20260326074247.188674-2-armbru@redhat.com
Signed-off-by: Fabiano Rosas <farosas@suse.de>
This commit is contained in:
Markus Armbruster
2026-03-26 08:42:45 +01:00
committed by Fabiano Rosas
parent e389503e73
commit 95650cafc3

View File

@@ -1207,7 +1207,7 @@ bool migrate_params_check(MigrationParameters *params, Error **errp)
if (params->max_cpu_throttle < params->cpu_throttle_initial ||
params->max_cpu_throttle > 99) {
error_setg(errp, "max_Option cpu_throttle expects "
error_setg(errp, "Option max_cpu_throttle expects "
"an integer in the range of cpu_throttle_initial to 99");
return false;
}