X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;ds=sidebyside;f=qerror.h;h=7ec0fc12d7663e5543e411e74ae10149582e06e8;hb=3acccfc67d3aa4611142e2171337c7c494b52efb;hp=16c830d8b75917aaafb57d8428b83962cca7d18b;hpb=befeac45d4d9afb587eca9a27d975db4a7950960;p=qemu.git diff --git a/qerror.h b/qerror.h index 16c830d8b..7ec0fc12d 100644 --- a/qerror.h +++ b/qerror.h @@ -124,6 +124,9 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_JSON_PARSE_ERROR \ "{ 'class': 'JSONParseError', 'data': { 'message': %s } }" +#define QERR_BUFFER_OVERRUN \ + "{ 'class': 'BufferOverrun', 'data': {} }" + #define QERR_KVM_MISSING_CAP \ "{ 'class': 'KVMMissingCap', 'data': { 'capability': %s, 'feature': %s } }" @@ -181,4 +184,10 @@ QError *qobject_to_qerror(const QObject *obj); #define QERR_FEATURE_DISABLED \ "{ 'class': 'FeatureDisabled', 'data': { 'name': %s } }" +#define QERR_QGA_LOGGING_FAILED \ + "{ 'class': 'QgaLoggingFailed', 'data': {} }" + +#define QERR_QGA_COMMAND_FAILED \ + "{ 'class': 'QgaCommandFailed', 'data': { 'message': %s } }" + #endif /* QERROR_H */