qemu-img: Avoid qerror_report_err() outside QMP command handlers
commit6936f299a47acf84b4d926d0eec4cdf3cf2274ba
authorMarkus Armbruster <armbru@redhat.com>
Tue, 10 Feb 2015 14:14:02 +0000 (10 15:14 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 18 Feb 2015 09:51:39 +0000 (18 10:51 +0100)
tree32dffa3842c08f486af94194238fbdabc2907ca5
parenta720a390b1b2260d245bcc96923bf17e186b4b7e
qemu-img: 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().

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