From: Stefan Hajnoczi <stefanha@gmail.com>
To: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
Cc: qemu-devel@nongnu.org, Kevin Wolf <kwolf@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
Markus Armbruster <armbru@redhat.com>,
Max Reitz <mreitz@redhat.com>,
Keith Busch <keith.busch@intel.com>,
Gerd Hoffmann <kraxel@redhat.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v4 0/4] Convert to realize and improve error handling
Date: Fri, 1 Dec 2017 12:50:11 +0000 [thread overview]
Message-ID: <20171201125011.GL23501@stefanha-x1.localdomain> (raw)
In-Reply-To: <cover.1511317952.git.maozy.fnst@cn.fujitsu.com>
[-- Attachment #1: Type: text/plain, Size: 1866 bytes --]
On Wed, Nov 22, 2017 at 11:08:42AM +0800, Mao Zhongyi wrote:
> This series mainly implements the conversions of ide, floppy and nvme
> device to realize. Add some error handling messages and remove the local
> variable local_err, use errp to propagate the error directly. Also
> fix the unusual function name.
>
> v4:
> -rebased it on top of block-next branch
>
> v3:
> -patch1: update the test output in 051 [John Snow]
> -patch2: update the test putput in 172 [John Snow]
>
> v2:
> -use bool as the return type instead of int. [Markus Armbruster & Stefan Hajnoczi]
>
> Cc: Kevin Wolf <kwolf@redhat.com>
> Cc: Max Reitz <mreitz@redhat.com>
> Cc: Keith Busch <keith.busch@intel.com>
> Cc: Stefan Hajnoczi <stefanha@redhat.com>
> Cc: "Michael S. Tsirkin" <mst@redhat.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Gerd Hoffmann <kraxel@redhat.com>
> Cc: Markus Armbruster <armbru@redhat.com>
>
> Mao Zhongyi (4):
> hw/block/nvme: Convert to realize
> hw/block: Fix the return type
> hw/block: Use errp directly rather than local_err
> dev-storage: Fix the unusual function name
>
> hw/block/block.c | 15 +++++++++------
> hw/block/dataplane/virtio-blk.c | 12 +++++++-----
> hw/block/dataplane/virtio-blk.h | 2 +-
> hw/block/fdc.c | 17 ++++++-----------
> hw/block/nvme.c | 23 +++++++++++------------
> hw/block/virtio-blk.c | 18 ++++++------------
> hw/ide/qdev.c | 12 ++++--------
> hw/scsi/scsi-disk.c | 13 ++++---------
> hw/usb/dev-storage.c | 29 +++++++++++++----------------
> include/hw/block/block.h | 4 ++--
> 10 files changed, 63 insertions(+), 82 deletions(-)
Thanks, applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
prev parent reply other threads:[~2017-12-01 15:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-22 3:08 [Qemu-devel] [PATCH v4 0/4] Convert to realize and improve error handling Mao Zhongyi
2017-11-22 3:08 ` [Qemu-devel] [PATCH v4 1/4] hw/block/nvme: Convert to realize Mao Zhongyi
2017-12-01 12:40 ` Stefan Hajnoczi
2017-11-22 3:08 ` [Qemu-devel] [PATCH v4 2/4] hw/block: Fix the return type Mao Zhongyi
2017-11-22 3:08 ` [Qemu-devel] [PATCH v4 3/4] hw/block: Use errp directly rather than local_err Mao Zhongyi
2017-11-22 3:08 ` [Qemu-devel] [PATCH v4 4/4] dev-storage: Fix the unusual function name Mao Zhongyi
2017-11-22 3:44 ` [Qemu-devel] [PATCH v4 0/4] Convert to realize and improve error handling no-reply
2017-12-01 12:50 ` Stefan Hajnoczi [this message]
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=20171201125011.GL23501@stefanha-x1.localdomain \
--to=stefanha@gmail.com \
--cc=armbru@redhat.com \
--cc=keith.busch@intel.com \
--cc=kraxel@redhat.com \
--cc=kwolf@redhat.com \
--cc=maozy.fnst@cn.fujitsu.com \
--cc=mreitz@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.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).