qerror: Improve QERR_DEVICE_NOT_ACTIVE message
authorHani Benhabiles <kroosec@gmail.com>
Tue, 25 Feb 2014 07:10:05 +0000 (08:10 +0100)
committerLuiz Capitulino <lcapitulino@redhat.com>
Fri, 28 Feb 2014 18:39:25 +0000 (13:39 -0500)
commitffe9fe3a25b93c045acc4d929056f8ea776a160a
tree25cf21446315631fd5f3e971cc5effcef226f184
parent4864512389b06389501e60d965edb8defb66a0fc
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>
include/qapi/qmp/qerror.h