{"id":814962,"url":"http://patchwork.ozlabs.org/api/covers/814962/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/cover/cover.1505737465.git.maozy.fnst@cn.fujitsu.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<cover.1505737465.git.maozy.fnst@cn.fujitsu.com>","list_archive_url":null,"date":"2017-09-18T14:05:12","name":"[v3,0/6] Convert to realize and improve error handling","submitter":{"id":71231,"url":"http://patchwork.ozlabs.org/api/people/71231/?format=json","name":"Mao Zhongyi","email":"maozy.fnst@cn.fujitsu.com"},"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/cover/cover.1505737465.git.maozy.fnst@cn.fujitsu.com/mbox/","series":[{"id":3655,"url":"http://patchwork.ozlabs.org/api/series/3655/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=3655","date":"2017-09-18T14:05:14","name":"Convert to realize and improve error handling","version":3,"mbox":"http://patchwork.ozlabs.org/series/3655/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/814962/comments/","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xwpC61mm7z9s7M\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 00:23:30 +1000 (AEST)","from localhost ([::1]:36945 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dtwxM-0004uB-Bn\n\tfor incoming@patchwork.ozlabs.org; Mon, 18 Sep 2017 10:23:28 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:42930)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <maozy.fnst@cn.fujitsu.com>) id 1dtwiV-0000hd-46\n\tfor qemu-devel@nongnu.org; Mon, 18 Sep 2017 10:08:11 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <maozy.fnst@cn.fujitsu.com>) id 1dtwiO-0006Oj-Qh\n\tfor qemu-devel@nongnu.org; Mon, 18 Sep 2017 10:08:07 -0400","from mail.cn.fujitsu.com ([183.91.158.132]:20177\n\thelo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <maozy.fnst@cn.fujitsu.com>) id 1dtwiO-0006OH-FJ\n\tfor qemu-devel@nongnu.org; Mon, 18 Sep 2017 10:08:00 -0400","from localhost (HELO cn.fujitsu.com) ([10.167.33.5])\n\tby heian.cn.fujitsu.com with ESMTP; 18 Sep 2017 22:07:50 +0800","from G08CNEXCHPEKD03.g08.fujitsu.local (unknown [10.167.33.85])\n\tby cn.fujitsu.com (Postfix) with ESMTP id 9BD6647ACDAD;\n\tMon, 18 Sep 2017 22:07:45 +0800 (CST)","from maozy.g08.fujitsu.local (10.167.225.76) by\n\tG08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP\n\tServer (TLS) id 14.3.361.1; Mon, 18 Sep 2017 22:07:48 +0800"],"X-IronPort-AV":"E=Sophos;i=\"5.42,413,1500912000\"; d=\"scan'208\";a=\"26773968\"","From":"Mao Zhongyi <maozy.fnst@cn.fujitsu.com>","To":"<qemu-devel@nongnu.org>","Date":"Mon, 18 Sep 2017 22:05:12 +0800","Message-ID":"<cover.1505737465.git.maozy.fnst@cn.fujitsu.com>","X-Mailer":"git-send-email 2.9.4","MIME-Version":"1.0","Content-Type":"text/plain","X-Originating-IP":"[10.167.225.76]","X-yoursite-MailScanner-ID":"9BD6647ACDAD.A631E","X-yoursite-MailScanner":"Found to be clean","X-yoursite-MailScanner-From":"maozy.fnst@cn.fujitsu.com","X-detected-operating-system":"by eggs.gnu.org: Genre and OS details not\n\trecognized.","X-Received-From":"183.91.158.132","Subject":"[Qemu-devel] [PATCH v3 0/6] Convert to realize and improve error\n\thandling","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"Kevin Wolf <kwolf@redhat.com>, \"Michael S. Tsirkin\" <mst@redhat.com>,\n\tMarkus Armbruster <armbru@redhat.com>, Max Reitz <mreitz@redhat.com>, \n\tKeith Busch <keith.busch@intel.com>, Gerd Hoffmann <kraxel@redhat.com>,\n\tStefan Hajnoczi <stefanha@redhat.com>,\n\tPaolo Bonzini <pbonzini@redhat.com>, John Snow <jsnow@redhat.com>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"},"content":"This series mainly implements the conversions of ide, floppy and nvme\ndevice to realize. Add some error handling messages and remove the local\nvariable local_err, use errp to propagate the error directly. Also\nfix the unusual function name.\n\nv3:\n  -patch1: update the test output in 051  [John Snow] \n  -patch2: update the test putput in 172  [John Snow]\n\nv2:\n  -use bool as the return type instead of int. [Markus Armbruster & Stefan Hajnoczi]\n\nCc: John Snow <jsnow@redhat.com>\nCc: Kevin Wolf <kwolf@redhat.com>\nCc: Max Reitz <mreitz@redhat.com>\nCc: Keith Busch <keith.busch@intel.com>\nCc: Stefan Hajnoczi <stefanha@redhat.com>\nCc: \"Michael S. Tsirkin\" <mst@redhat.com>\nCc: Paolo Bonzini <pbonzini@redhat.com>\nCc: Gerd Hoffmann <kraxel@redhat.com>\nCc: Markus Armbruster <armbru@redhat.com>\n\nMao Zhongyi (6):\n  hw/ide: Convert DeviceClass init to realize\n  hw/block/fdc: Convert to realize\n  hw/block/nvme: Convert to realize\n  hw/block: Fix the return type\n  hw/block: Use errp directly rather than local_err\n  dev-storage: Fix the unusual function name\n\n hw/block/block.c                | 15 ++++---\n hw/block/dataplane/virtio-blk.c | 12 +++---\n hw/block/dataplane/virtio-blk.h |  2 +-\n hw/block/fdc.c                  | 48 +++++++++------------\n hw/block/nvme.c                 | 24 +++++------\n hw/block/virtio-blk.c           | 17 +++-----\n hw/ide/core.c                   |  7 +--\n hw/ide/qdev.c                   | 94 +++++++++++++++++++----------------------\n hw/scsi/scsi-disk.c             | 13 ++----\n hw/usb/dev-storage.c            | 29 ++++++-------\n include/hw/block/block.h        |  4 +-\n include/hw/ide/internal.h       |  5 ++-\n tests/qemu-iotests/051.pc.out   | 10 +----\n tests/qemu-iotests/172.out      |  8 ----\n 14 files changed, 127 insertions(+), 161 deletions(-)"}