qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com,
	mdroth@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH 00/11] Sprint to the finish: purge QError
Date: Mon, 15 Jun 2015 12:03:04 -0400	[thread overview]
Message-ID: <20150615120304.7de9c59f@redhat.com> (raw)
In-Reply-To: <1434205258-1932-1-git-send-email-armbru@redhat.com>

On Sat, 13 Jun 2015 16:20:47 +0200
Markus Armbruster <armbru@redhat.com> wrote:

> After a bit over a year and many patches, QError is finally ripe.  All
> that's left of qerror.h after this series is a bunch of QERR_ macros.
> Killing them is left for another day.

Excellent!

I did my best to review this series, but unfortunately my review is
a bit weak because I'm not that familiar with some code paths
(like QemuOpts) and I was unable to apply patches starting with patch 04/11.

But it does look good to me:

Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>

> 
> The diffstat looks a bit scary, but that's almost entirely due to
> mechanical changes like PATCH 05.
> 
> This series applies on top of my "[PATCH v2 0/7] qdev: Mostly wean off
> QError".
> 
> Markus Armbruster (11):
>   QemuOpts: Wean off qerror_report_err()
>   vl: Avoid qerror_report() outside QMP command handlers
>   vl: Use error_report() for --display errors
>   qerror: Eliminate QERR_DEVICE_NOT_FOUND
>   qerror: Clean up QERR_ macros to expand into a single string
>   tpm: Avoid qerror_report() outside QMP command handlers
>   qmp: Wean off qerror_report()
>   qerror: Finally unused, clean up
>   qerror: Move #include out of qerror.h
>   Include qapi/qmp/qerror.h exactly where needed
>   Include monitor/monitor.h exactly where needed
> 
>  audio/spiceaudio.c               |   1 +
>  audio/wavcapture.c               |   1 +
>  backends/hostmem.c               |   1 -
>  backends/rng-egd.c               |  11 +--
>  backends/rng-random.c            |   6 +-
>  backends/rng.c                   |   2 +-
>  backends/tpm.c                   |   2 +-
>  balloon.c                        |   5 +-
>  block.c                          |   4 +-
>  block/backup.c                   |   5 +-
>  block/commit.c                   |   3 +-
>  block/curl.c                     |   1 +
>  block/dmg.c                      |   1 +
>  block/io.c                       |   1 +
>  block/iscsi.c                    |   1 +
>  block/mirror.c                   |   9 +--
>  block/qapi.c                     |   6 --
>  block/qcow.c                     |   5 +-
>  block/qcow2-snapshot.c           |   1 +
>  block/qcow2.c                    |   4 +-
>  block/qed.c                      |   4 +-
>  block/quorum.c                   |   5 +-
>  block/raw-posix.c                |   2 +
>  block/snapshot.c                 |   5 +-
>  block/ssh.c                      |   2 +
>  block/stream.c                   |   5 +-
>  block/vhdx-log.c                 |   1 +
>  block/vmdk.c                     |  14 ++--
>  block/vvfat.c                    |   1 +
>  blockdev-nbd.c                   |   6 +-
>  blockdev.c                       |  80 ++++++++++++---------
>  blockjob.c                       |   9 +--
>  cpus.c                           |   9 +--
>  dump.c                           |  13 ++--
>  hmp.c                            |  24 ++++---
>  hw/9pfs/virtio-9p.c              |   1 +
>  hw/char/serial-pci.c             |   1 -
>  hw/char/virtio-serial-bus.c      |   1 +
>  hw/core/nmi.c                    |   2 +-
>  hw/core/platform-bus.c           |   1 -
>  hw/core/qdev-properties-system.c |   3 +-
>  hw/core/qdev-properties.c        |  12 ++--
>  hw/core/qdev.c                   |   9 +--
>  hw/display/g364fb.c              |   1 +
>  hw/display/qxl.c                 |   1 -
>  hw/display/tcx.c                 |   1 +
>  hw/dma/xilinx_axidma.c           |   1 -
>  hw/i386/pc.c                     |   2 +-
>  hw/ide/ahci.c                    |   2 +-
>  hw/intc/openpic.c                |   6 +-
>  hw/misc/ivshmem.c                |   2 +-
>  hw/net/xilinx_axienet.c          |   1 -
>  hw/pci/pci-stub.c                |   3 +-
>  hw/pci/pci.c                     |   1 +
>  hw/pci/pcie.c                    |   1 -
>  hw/pci/shpc.c                    |   1 -
>  hw/ppc/spapr_pci.c               |   8 +--
>  hw/ppc/spapr_vio.c               |   1 -
>  hw/ppc/virtex_ml507.c            |   2 +-
>  hw/s390x/event-facility.c        |   1 -
>  hw/s390x/s390-virtio-bus.c       |   1 -
>  hw/s390x/s390-virtio.c           |   4 +-
>  hw/s390x/virtio-ccw.c            |   2 +-
>  hw/scsi/vhost-scsi.c             |   1 +
>  hw/timer/hpet.c                  |   1 +
>  hw/tpm/tpm_passthrough.c         |   1 +
>  hw/usb/bus.c                     |   1 +
>  hw/usb/ccid-card-emulated.c      |   1 -
>  hw/usb/ccid-card-passthru.c      |   2 +-
>  hw/usb/dev-network.c             |   2 +-
>  hw/usb/dev-serial.c              |   2 +-
>  hw/usb/dev-smartcard-reader.c    |   1 -
>  hw/usb/dev-storage.c             |   1 +
>  hw/usb/hcd-ehci.h                |   1 -
>  hw/usb/host-libusb.c             |   1 +
>  hw/usb/redirect.c                |   9 +--
>  hw/virtio/virtio-rng.c           |   1 -
>  include/block/block_int.h        |   2 -
>  include/monitor/monitor.h        |   9 +--
>  include/monitor/qdev.h           |   5 +-
>  include/net/net.h                |   2 +-
>  include/qapi/qmp/qerror.h        |  85 +++++++++-------------
>  include/qapi/qmp/qobject.h       |   1 -
>  include/qemu/option.h            |   5 +-
>  include/qemu/sockets.h           |   1 -
>  include/sysemu/balloon.h         |   1 -
>  include/ui/console.h             |   4 +-
>  include/ui/qemu-spice.h          |   2 -
>  migration/migration.c            |  38 +++++-----
>  migration/qemu-file-buf.c        |   1 +
>  migration/qemu-file.c            |   1 +
>  migration/rdma.c                 |   1 +
>  migration/savevm.c               |   4 +-
>  monitor.c                        | 104 +++++++++++----------------
>  net/l2tpv3.c                     |   1 -
>  net/net.c                        |  41 +++++------
>  net/slirp.c                      |   1 +
>  numa.c                           |   1 -
>  qapi/opts-visitor.c              |  24 +++----
>  qapi/qapi-visit-core.c           |  28 ++++----
>  qapi/qmp-dispatch.c              |  12 ++--
>  qapi/qmp-input-visitor.c         |  28 ++++----
>  qapi/qmp-output-visitor.c        |   1 -
>  qapi/string-input-visitor.c      |  24 +++----
>  qapi/string-output-visitor.c     |   1 -
>  qdev-monitor.c                   |  37 +++++-----
>  qemu-char.c                      |   1 +
>  qemu-img.c                       |   6 +-
>  qemu-io-cmds.c                   |   1 +
>  qemu-io.c                        |   4 +-
>  qemu-nbd.c                       |   4 +-
>  qga/commands-posix.c             |  40 +++++------
>  qga/commands-win32.c             |  66 ++++++++---------
>  qga/main.c                       |   4 +-
>  qmp-commands.hx                  |   4 +-
>  qmp.c                            |  97 ++++++++++---------------
>  qobject/Makefile.objs            |   1 -
>  qobject/json-parser.c            |   1 -
>  qobject/qerror.c                 | 148 ---------------------------------------
>  qobject/qjson.c                  |   3 -
>  qom/object.c                     |  18 ++---
>  scripts/qapi-commands.py         |  42 ++---------
>  slirp/misc.c                     |   1 +
>  stubs/Makefile.objs              |   1 -
>  stubs/arch-query-cpu-def.c       |   2 +-
>  stubs/dump.c                     |   1 -
>  stubs/mon-is-qmp.c               |   2 +
>  stubs/mon-set-error.c            |   8 ---
>  target-arm/cpu.c                 |   1 -
>  target-i386/cpu.c                |  20 +++---
>  target-i386/kvm.c                |   1 -
>  target-s390x/kvm.c               |   1 -
>  tests/test-opts-visitor.c        |   3 +-
>  tests/test-qemu-opts.c           |   2 +-
>  tpm.c                            |  12 ++--
>  ui/input-legacy.c                |   1 -
>  ui/input.c                       |   4 +-
>  ui/spice-core.c                  |   1 +
>  ui/spice-display.c               |   1 -
>  ui/vnc.c                         |  10 +--
>  util/osdep.c                     |   1 +
>  util/qemu-config.c               |   1 -
>  util/qemu-error.c                |   5 +-
>  util/qemu-option.c               |  47 ++++++++-----
>  vl.c                             | 143 +++++++++++++++++++++----------------
>  145 files changed, 676 insertions(+), 845 deletions(-)
>  delete mode 100644 qobject/qerror.c
>  delete mode 100644 stubs/mon-set-error.c
> 

  parent reply	other threads:[~2015-06-15 16:03 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-13 14:20 [Qemu-devel] [PATCH 00/11] Sprint to the finish: purge QError Markus Armbruster
2015-06-13 14:20 ` [Qemu-devel] [PATCH 01/11] QemuOpts: Wean off qerror_report_err() Markus Armbruster
2015-06-14  2:57   ` Eric Blake
2015-06-16 10:58     ` Markus Armbruster
2015-06-15 16:19   ` Stefan Hajnoczi
2015-06-13 14:20 ` [Qemu-devel] [PATCH 02/11] vl: Avoid qerror_report() outside QMP command handlers Markus Armbruster
2015-06-14  3:09   ` Eric Blake
2015-06-16 12:00     ` Markus Armbruster
2015-06-13 14:20 ` [Qemu-devel] [PATCH 03/11] vl: Use error_report() for --display errors Markus Armbruster
2015-06-15 12:49   ` Eric Blake
2015-06-13 14:20 ` [Qemu-devel] [PATCH 04/11] qerror: Eliminate QERR_DEVICE_NOT_FOUND Markus Armbruster
2015-06-15 13:59   ` Eric Blake
2015-06-16 12:26     ` Markus Armbruster
2015-06-15 15:13   ` Stefan Hajnoczi
2015-06-15 15:18   ` Luiz Capitulino
2015-06-15 20:33     ` Eric Blake
2015-06-16 12:28       ` Markus Armbruster
2015-06-15 20:41     ` Peter Maydell
2015-06-16 12:28       ` Markus Armbruster
2015-06-13 14:20 ` [Qemu-devel] [PATCH 05/11] qerror: Clean up QERR_ macros to expand into a single string Markus Armbruster
2015-06-15 15:12   ` Stefan Hajnoczi
2015-06-15 16:09   ` Eric Blake
2015-06-16 12:45     ` Markus Armbruster
2015-06-13 14:20 ` [Qemu-devel] [PATCH 06/11] tpm: Avoid qerror_report() outside QMP command handlers Markus Armbruster
2015-06-15 20:37   ` Eric Blake
2015-06-16 13:07     ` Markus Armbruster
2015-06-13 14:20 ` [Qemu-devel] [PATCH 07/11] qmp: Wean off qerror_report() Markus Armbruster
2015-06-15 15:08   ` Stefan Hajnoczi
2015-06-15 20:56   ` Eric Blake
2015-06-16 12:54     ` Markus Armbruster
2015-06-13 14:20 ` [Qemu-devel] [PATCH 08/11] qerror: Finally unused, clean up Markus Armbruster
2015-06-15 21:05   ` Eric Blake
2015-06-13 14:20 ` [Qemu-devel] [PATCH 09/11] qerror: Move #include out of qerror.h Markus Armbruster
2015-06-15 15:08   ` Stefan Hajnoczi
2015-06-15 21:37   ` Eric Blake
2015-06-13 14:20 ` [Qemu-devel] [PATCH 10/11] Include qapi/qmp/qerror.h exactly where needed Markus Armbruster
2015-06-15 15:09   ` Stefan Hajnoczi
2015-06-15 21:38   ` Eric Blake
2015-06-16 12:58     ` Markus Armbruster
2015-06-13 14:20 ` [Qemu-devel] [PATCH 11/11] Include monitor/monitor.h " Markus Armbruster
2015-06-15 15:09   ` Stefan Hajnoczi
2015-06-15 21:40   ` Eric Blake
2015-06-15 16:03 ` Luiz Capitulino [this message]
2015-06-16 13:08   ` [Qemu-devel] [PATCH 00/11] Sprint to the finish: purge QError Markus Armbruster
2015-06-16 13:35     ` Luiz Capitulino

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=20150615120304.7de9c59f@redhat.com \
    --to=lcapitulino@redhat.com \
    --cc=armbru@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=mdroth@linux.vnet.ibm.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).