diff options
| author | Cole Robinson | 2014-03-22 00:42:27 +0100 |
|---|---|---|
| committer | Luiz Capitulino | 2014-04-25 15:19:59 +0200 |
| commit | 0b15abfcbcb6d4f658bf92d618386f79a7f7e9e8 (patch) | |
| tree | a7d04082d3672992a751f04fd712cf61c730c20b /include/qapi | |
| parent | qerror.h: Remove QERR defines that are only used once (diff) | |
| download | qemu-0b15abfcbcb6d4f658bf92d618386f79a7f7e9e8.tar.gz qemu-0b15abfcbcb6d4f658bf92d618386f79a7f7e9e8.tar.xz qemu-0b15abfcbcb6d4f658bf92d618386f79a7f7e9e8.zip | |
qerror.h: Replace QERR_NOT_SUPPORTED with QERR_UNSUPPORTED
The former is only used twice, the latter is used over 30 times, and
has a nicer error message.
Cc: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'include/qapi')
| -rw-r--r-- | include/qapi/qmp/qerror.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/qapi/qmp/qerror.h b/include/qapi/qmp/qerror.h index 01d1d0661c..f5335e67d6 100644 --- a/include/qapi/qmp/qerror.h +++ b/include/qapi/qmp/qerror.h @@ -122,9 +122,6 @@ void qerror_report_err(Error *err); #define QERR_MISSING_PARAMETER \ ERROR_CLASS_GENERIC_ERROR, "Parameter '%s' is missing" -#define QERR_NOT_SUPPORTED \ - ERROR_CLASS_GENERIC_ERROR, "Not supported" - #define QERR_PERMISSION_DENIED \ ERROR_CLASS_GENERIC_ERROR, "Insufficient permission to perform this operation" |
