mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
Remove double error message in qemu_option_set()
qemu_opt_set() prints an error message in all failure cases, so qemu_set_option() doesn't need to print another error. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
a676968b7f
commit
51693297d7
@ -209,8 +209,6 @@ int qemu_set_option(const char *str)
|
||||
}
|
||||
|
||||
if (qemu_opt_set(opts, arg, str+offset+1) == -1) {
|
||||
qemu_error("failed to set \"%s\" for %s \"%s\"\n",
|
||||
arg, lists[i]->name, id);
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user