@samitouri / QOSamiQemu / commits / 95650cafc3

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

Fixes: 1a739d301232 (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>

Markus Armbruster committed Mar 26, 2026 at 08:42 UTC 95650cafc3b12122b9192ec7867fc97e4ce4888c
1 file changed +1 -1
migration/options.c
+1 -1
@@ -1207,7 +1207,7 @@ bool migrate_params_check(MigrationParameters *params, Error **errp)
1207
1208 if (params->max_cpu_throttle < params->cpu_throttle_initial ||
1209 params->max_cpu_throttle > 99) {
1210 - error_setg(errp, "max_Option cpu_throttle expects "
1210 + error_setg(errp, "Option max_cpu_throttle expects "
1211 "an integer in the range of cpu_throttle_initial to 99");
1212 return false;
1213 }