mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
monitor: Use QERR_INVALID_PARAMETER instead of QERR_INVALID_CPU_INDEX
This changes the error message from "Invalid CPU index" to "Invalid parameter index" in the human monitor. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
c6027f56dc
commit
cc0c4185e5
1 changed files with 1 additions and 1 deletions
|
@ -907,7 +907,7 @@ static void do_cpu_set(Monitor *mon, const QDict *qdict, QObject **ret_data)
|
|||
{
|
||||
int index = qdict_get_int(qdict, "index");
|
||||
if (mon_set_cpu(index) < 0)
|
||||
qemu_error_new(QERR_INVALID_CPU_INDEX);
|
||||
qemu_error_new(QERR_INVALID_PARAMETER, "index");
|
||||
}
|
||||
|
||||
static void do_info_jit(Monitor *mon)
|
||||
|
|
Loading…
Reference in a new issue