error: Convert qemu_opts_validate() to QError
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
e17ba87c52
commit
db716e9c16
@ -877,8 +877,7 @@ int qemu_opts_validate(QemuOpts *opts, const QemuOptDesc *desc)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (desc[i].name == NULL) {
|
if (desc[i].name == NULL) {
|
||||||
fprintf(stderr, "option \"%s\" is not valid for %s\n",
|
qerror_report(QERR_INVALID_PARAMETER, opt->name);
|
||||||
opt->name, opts->list->name);
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user