net: Avoid qerror_report_err() outside QMP command handlers
commit12d0cc2db971cc0888b7d465143c68dee381c88b
authorMarkus Armbruster <armbru@redhat.com>
Tue, 10 Feb 2015 14:02:06 +0000 (10 15:02 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 18 Feb 2015 09:51:36 +0000 (18 10:51 +0100)
treef250df70fac79552c4e5d34bcfd02262afd7bcd7
parent091e38b7dc3255d780f0603b5b93c25078c39856
net: 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 HMP command handler
hmp_host_net_add() and initial startup helpers net_init_client(),
net_init_netdev().  Keep it in QMP command handler qmp_netdev_add().

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