From: Paolo Bonzini <pbonzini@redhat.com>
To: arei.gonglei@huawei.com, qemu-devel@nongnu.org
Cc: weidong.huang@huawei.com, kraxel@redhat.com, armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 0/2] usb: Don't use qerror_report
Date: Fri, 12 Sep 2014 10:35:22 +0200 [thread overview]
Message-ID: <5412B04A.1060407@redhat.com> (raw)
In-Reply-To: <1410507050-8900-1-git-send-email-arei.gonglei@huawei.com>
Il 12/09/2014 09:30, arei.gonglei@huawei.com ha scritto:
> From: Gonglei <arei.gonglei@huawei.com>
>
> qerror_report() is a transitional interface to help with converting
> existing HMP commands to QMP. It should not be used elsewhere.
>
> v2 -> v1:
> - update including head files, remove qerror.h and monitor.h,
> add error-report.h (Markus)
> - add 'Reviewed-by' tag.
>
> Gonglei (2):
> redirect.c: Don't use qerror_report()
> dev-network: Don't use qerror_report_err()
>
> hw/usb/dev-network.c | 4 ++--
> hw/usb/redirect.c | 8 ++++----
> 2 files changed, 6 insertions(+), 6 deletions(-)
>
This is not an improvement I think; patch 1 especially for patch 2 where
you are discarding the Error *.
Any chance you could convert USB from init to realize, instead? Then
you can remove the error printing altogether, and just the obsolete
functions.
Paolo
next prev parent reply other threads:[~2014-09-12 8:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-12 7:30 [Qemu-devel] [PATCH v2 0/2] usb: Don't use qerror_report arei.gonglei
2014-09-12 7:30 ` [Qemu-devel] [PATCH v2 1/2] redirect.c: Don't use qerror_report() arei.gonglei
2014-09-12 7:30 ` [Qemu-devel] [PATCH v2 2/2] dev-network: Don't use qerror_report_err() arei.gonglei
2014-09-12 8:35 ` Paolo Bonzini [this message]
2014-09-12 8:50 ` [Qemu-devel] [PATCH v2 0/2] usb: Don't use qerror_report Gonglei (Arei)
2014-09-12 8:59 ` Paolo Bonzini
2014-09-12 9:09 ` Gonglei (Arei)
2014-09-16 13:54 ` Gonglei (Arei)
2014-09-16 14:08 ` Paolo Bonzini
2014-09-16 14:25 ` Markus Armbruster
2014-09-17 1:00 ` Gonglei (Arei)
2014-09-16 14:16 ` Gerd Hoffmann
2014-09-16 16:16 ` Markus Armbruster
2014-09-17 1:02 ` Gonglei (Arei)
2014-09-18 3:14 ` Gonglei (Arei)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5412B04A.1060407@redhat.com \
--to=pbonzini@redhat.com \
--cc=arei.gonglei@huawei.com \
--cc=armbru@redhat.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=weidong.huang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).