This patch series converts monitor commands eject, change, closefd, getfd to QError.
There's a simple bonus fix in PATCH 3. Finally, PATCH 18 puts a human-readable error description into the QMP error response. For background, see the lengthy thread ending at http://lists.gnu.org/archive/html/qemu-devel/2009-11/msg01221.html Series should be applied after Luiz's work. Luiz Capitulino (2): QError: new class for device encrypted errors monitor: do_cont(): Don't ask for passwords Markus Armbruster (16): monitor: Fix double-prompt after "change vnc passwd BLA" QError: Put error definitions in alphabetical order QError: New QERR_DEVICE_LOCKED QError: New QERR_DEVICE_NOT_REMOVABLE monitor: convert do_eject() to QError QError: New QERR_INVALID_BLOCK_FORMAT QError: New QERR_SET_PASSWD_FAILED QError: New QERR_VNC_SERVER_FAILED monitor: convert do_change() to QObject, QError QError: New QERR_FD_NOT_FOUND monitor: convert do_closefd() to QError QError: New QERR_FD_NOT_SUPPLIED New QERR_INVALID_PARAMETER QError: New QERR_TOO_MANY_FILES monitor: convert do_getfd() to QError QMP: add human-readable description to error response QMP/qmp-spec.txt | 5 ++- monitor.c | 55 +++++++++++++++++++++++----------- qemu-monitor.hx | 3 +- qerror.c | 85 +++++++++++++++++++++++++++++++++++++++++++----------- qerror.h | 56 ++++++++++++++++++++++++++++------- 5 files changed, 155 insertions(+), 49 deletions(-)