Commit 95650cafc3 for qemu.org
commit 95650cafc3b12122b9192ec7867fc97e4ce4888c
Author: Markus Armbruster <armbru@redhat.com>
Date: Thu Mar 26 08:42:45 2026 +0100
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>
diff --git a/migration/options.c b/migration/options.c
index 658c578191..3eb5b39186 100644
--- a/migration/options.c
+++ b/migration/options.c
@@ -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;
}