qemu-char: Avoid qerror_report_err() outside QMP command handlers
commit33394884060b6501ef39b124eeaa111f61c59f7f
authorMarkus Armbruster <armbru@redhat.com>
Tue, 10 Feb 2015 14:21:26 +0000 (10 15:21 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 18 Feb 2015 09:51:40 +0000 (18 10:51 +0100)
tree214721cd2663d1fbae1752e1783ebf334f977f11
parent6936f299a47acf84b4d926d0eec4cdf3cf2274ba
qemu-char: Avoid qerror_report_err() outside QMP command handlers

qerror_report_err() is a transitional interface to help with
converting existing monitor commands to QMP.  It should not be used
elsewhere.  Replace by error_report_err() in legacy chardev parser
qemu_chr_parse_compat().  Legacy chardev syntax is not to be used in
QMP.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
qemu-char.c