mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
qerror: add QERR_JSON_PARSE_ERROR to qerror.c
Missing from previous addition of error to qerror.h. Needed for qerror_format() and friends. Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
This commit is contained in:
parent
b84da83195
commit
ac32c78076
1 changed files with 5 additions and 0 deletions
5
qerror.c
5
qerror.c
|
@ -140,6 +140,11 @@ static const QErrorStringTable qerror_table[] = {
|
||||||
.error_fmt = QERR_JSON_PARSING,
|
.error_fmt = QERR_JSON_PARSING,
|
||||||
.desc = "Invalid JSON syntax",
|
.desc = "Invalid JSON syntax",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.error_fmt = QERR_JSON_PARSE_ERROR,
|
||||||
|
.desc = "JSON parse error, %(message)",
|
||||||
|
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.error_fmt = QERR_KVM_MISSING_CAP,
|
.error_fmt = QERR_KVM_MISSING_CAP,
|
||||||
.desc = "Using KVM without %(capability), %(feature) unavailable",
|
.desc = "Using KVM without %(capability), %(feature) unavailable",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue