summaryrefslogtreecommitdiffstats
path: root/include/qapi/qmp
diff options
context:
space:
mode:
authorMarkus Armbruster2015-03-11 19:16:04 +0100
committerMarkus Armbruster2015-06-22 18:20:39 +0200
commitd282842999b914c38c8be4659012aa619c22af8b (patch)
treec971d54abcba1d199303b5b82404409a300aa611 /include/qapi/qmp
parentqdev-monitor: Fix check for full bus (diff)
downloadqemu-d282842999b914c38c8be4659012aa619c22af8b.tar.gz
qemu-d282842999b914c38c8be4659012aa619c22af8b.tar.xz
qemu-d282842999b914c38c8be4659012aa619c22af8b.zip
qdev-monitor: Convert qbus_find() to Error
As usual, the conversion breaks printing explanatory messages after the error: actual printing of the error gets delayed, so the explanations precede rather than follow it. Pity. Disable them for now. See also commit 7216ae3. While there, eliminate QERR_BUS_NOT_FOUND, and clean up unusual spelling in the error message. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/qapi/qmp')
-rw-r--r--include/qapi/qmp/qerror.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/qapi/qmp/qerror.h b/include/qapi/qmp/qerror.h
index e5673394d3..6468e40098 100644
--- a/include/qapi/qmp/qerror.h
+++ b/include/qapi/qmp/qerror.h
@@ -43,9 +43,6 @@ void qerror_report_err(Error *err);
#define QERR_BUS_NO_HOTPLUG \
ERROR_CLASS_GENERIC_ERROR, "Bus '%s' does not support hotplugging"
-#define QERR_BUS_NOT_FOUND \
- ERROR_CLASS_GENERIC_ERROR, "Bus '%s' not found"
-
#define QERR_DEVICE_HAS_NO_MEDIUM \
ERROR_CLASS_GENERIC_ERROR, "Device '%s' has no medium"