aboutsummaryrefslogtreecommitdiff
path: root/include/qapi
diff options
context:
space:
mode:
authorHani Benhabiles <kroosec@gmail.com>2014-02-25 08:10:05 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2014-02-28 13:39:25 -0500
commitffe9fe3a25b93c045acc4d929056f8ea776a160a (patch)
tree25cf21446315631fd5f3e971cc5effcef226f184 /include/qapi
parent4864512389b06389501e60d965edb8defb66a0fc (diff)
downloadqemu-ffe9fe3a25b93c045acc4d929056f8ea776a160a.zip
qemu-ffe9fe3a25b93c045acc4d929056f8ea776a160a.tar.gz
qemu-ffe9fe3a25b93c045acc4d929056f8ea776a160a.tar.bz2
qerror: Improve QERR_DEVICE_NOT_ACTIVE message
The error message as currently used is confusing as there are no "balloon" or "spice" devices. (qemu) balloon 1024 balloon: Device 'balloon' has not been activated With this patch: (qemu) balloon 1024 balloon: No balloon device has been activated Signed-off-by: Hani Benhabiles <hani@linux.com> Suggested-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'include/qapi')
-rw-r--r--include/qapi/qmp/qerror.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qapi/qmp/qerror.h b/include/qapi/qmp/qerror.h
index 73c67b7..25193c9 100644
--- a/include/qapi/qmp/qerror.h
+++ b/include/qapi/qmp/qerror.h
@@ -105,7 +105,7 @@ void qerror_report_err(Error *err);
ERROR_CLASS_GENERIC_ERROR, "Device '%s' does not support hotplugging"
#define QERR_DEVICE_NOT_ACTIVE \
- ERROR_CLASS_DEVICE_NOT_ACTIVE, "Device '%s' has not been activated"
+ ERROR_CLASS_DEVICE_NOT_ACTIVE, "No %s device has been activated"
#define QERR_DEVICE_NOT_ENCRYPTED \
ERROR_CLASS_GENERIC_ERROR, "Device '%s' is not encrypted"