[PULL 00/14] Miscellaneous patches for 2022-12-14

Markus Armbruster posted 14 patches 1 year, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221214164629.919880-1-armbru@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, John Snow <jsnow@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>, Fam Zheng <fam@euphon.net>, Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, "Alex Bennée" <alex.bennee@linaro.org>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>, "Michael S. Tsirkin" <mst@redhat.com>, Raphael Norwitz <raphael.norwitz@nutanix.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Greg Kurz <groug@kaod.org>, Christian Schoenebeck <qemu_oss@crudebyte.com>, Peter Maydell <peter.maydell@linaro.org>, Alistair Francis <Alistair.Francis@wdc.com>, Bin Meng <bin.meng@windriver.com>, Palmer Dabbelt <palmer@dabbelt.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Luc Michel <luc@lmichel.fr>, Damien Hedde <damien.hedde@greensocs.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>, Richard Henderson <richard.henderson@linaro.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Jason Wang <jasowang@redhat.com>, Keith Busch <kbusch@kernel.org>, Klaus Jensen <its@irrelevant.dk>, Yuval Shaia <yuval.shaia.ml@gmail.com>, Elena Ufimtseva <elena.ufimtseva@oracle.com>, Jagannathan Raman <jag.raman@oracle.com>, John G Johnson <john.g.johnson@oracle.com>, David Hildenbrand <david@redhat.com>, Eric Auger <eric.auger@redhat.com>, Laurent Vivier <laurent@vivier.eu>, Juan Quintela <quintela@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Markus Armbruster <armbru@redhat.com>, Zhang Chen <chen.zhang@intel.com>, Li Zhijian <lizhijian@fujitsu.com>, Konstantin Kostiuk <kkostiuk@redhat.com>, Michael Roth <michael.roth@amd.com>, Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru>, Peter Xu <peterx@redhat.com>, Michael Rolnik <mrolnik@gmail.com>, Wenchao Wang <wenchao.wang@intel.com>, Marcelo Tosatti <mtosatti@redhat.com>, Song Gao <gaosong@loongson.cn>, Xiaojuan Yang <yangxiaojuan@loongson.cn>, Aurelien Jarno <aurelien@aurel32.net>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aleksandar Rikalo <aleksandar.rikalo@syrmia.com>, Thomas Huth <thuth@redhat.com>, Su Hang <suhang16@mails.ucas.ac.cn>, Stefan Hajnoczi <stefanha@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>
scripts/coccinelle/return_directly.cocci |  5 +--
include/hw/pci/pci.h                     |  7 +---
include/io/channel.h                     |  2 +-
include/qemu/config-file.h               |  2 +-
target/avr/cpu.h                         |  4 +-
accel/kvm/kvm-all.c                      |  5 +--
block/blkdebug.c                         |  4 +-
block/copy-before-write.c                |  1 -
block/vmdk.c                             | 28 ++++++--------
bsd-user/elfload.c                       |  2 +-
contrib/plugins/cache.c                  |  8 ++--
contrib/vhost-user-blk/vhost-user-blk.c  |  2 +-
dump/dump.c                              |  2 -
hw/9pfs/9p-synth.c                       | 14 ++-----
hw/arm/armsse.c                          |  3 +-
hw/arm/virt.c                            | 14 +++----
hw/char/sifive_uart.c                    |  4 +-
hw/core/machine.c                        |  3 +-
hw/core/qdev-clock.c                     |  2 +-
hw/core/qdev-properties-system.c         |  5 +--
hw/core/qdev.c                           |  2 -
hw/hyperv/vmbus.c                        | 10 ++---
hw/i386/pc.c                             |  5 +--
hw/net/cadence_gem.c                     |  2 +-
hw/net/virtio-net.c                      |  2 +-
hw/nvme/ctrl.c                           |  4 +-
hw/pci/msi.c                             |  1 -
hw/ppc/ppc4xx_sdram.c                    | 15 ++------
hw/rdma/vmw/pvrdma_cmd.c                 | 66 +++++++++++---------------------
hw/rdma/vmw/pvrdma_qp_ops.c              |  6 +--
hw/remote/vfio-user-obj.c                |  1 -
hw/virtio/vhost-user.c                   |  6 +--
hw/virtio/vhost-vdpa.c                   |  2 +-
hw/virtio/virtio-balloon.c               | 20 +++++-----
hw/virtio/virtio-iommu.c                 |  3 +-
hw/virtio/virtio-mem.c                   | 10 +----
iothread.c                               |  2 +-
linux-user/syscall.c                     |  2 +-
migration/dirtyrate.c                    | 10 +----
migration/tls.c                          |  6 +--
monitor/misc.c                           | 14 ++-----
monitor/monitor.c                        | 12 ++----
monitor/qmp-cmds.c                       |  4 +-
net/colo-compare.c                       | 13 ++-----
qga/commands-win32.c                     |  8 ++--
replay/replay-time.c                     |  5 +--
semihosting/console.c                    |  4 +-
softmmu/memory.c                         | 11 +-----
softmmu/physmem.c                        |  9 +----
target/i386/hax/hax-all.c                |  2 +-
target/i386/kvm/kvm.c                    |  5 +--
target/loongarch/cpu.c                   |  4 +-
target/mips/tcg/dsp_helper.c             | 15 ++------
target/riscv/debug.c                     |  6 +--
target/riscv/vector_helper.c             | 28 ++++----------
tests/bench/benchmark-crypto-akcipher.c  |  6 +--
tests/qtest/erst-test.c                  |  5 +--
tests/qtest/hexloader-test.c             |  6 +--
tests/qtest/pvpanic-pci-test.c           |  6 +--
tests/qtest/pvpanic-test.c               |  6 +--
tests/qtest/test-filter-mirror.c         |  6 +--
tests/qtest/virtio-ccw-test.c            |  6 +--
tests/tcg/aarch64/system/semiheap.c      |  4 +-
tests/tcg/multiarch/sha512.c             |  9 +----
tools/virtiofsd/fuse_lowlevel.c          | 24 +++---------
ui/util.c                                |  1 -
util/qemu-config.c                       | 46 ++++++++++------------
util/qemu-sockets.c                      | 26 +++++--------
util/thread-context.c                    | 10 +----
util/vfio-helpers.c                      |  2 +-
70 files changed, 188 insertions(+), 407 deletions(-)
[PULL 00/14] Miscellaneous patches for 2022-12-14
Posted by Markus Armbruster 1 year, 4 months ago
The following changes since commit ea3a008d2d9ced9c4f93871c823baee237047f93:

  Update VERSION for v7.2.0-rc4 (2022-12-06 19:53:34 -0500)

are available in the Git repository at:

  https://repo.or.cz/qemu/armbru.git tags/pull-misc-2022-12-14

for you to fetch changes up to 6c5aaee4b61eb8bf60c7c30365432710b4346421:

  ppc4xx_sdram: Simplify sdram_ddr_size() to return (2022-12-14 16:19:35 +0100)

----------------------------------------------------------------
Miscellaneous patches for 2022-12-14

----------------------------------------------------------------
Markus Armbruster (14):
      Drop more useless casts from void * to pointer
      error: Drop some obviously superfluous error_propagate()
      error: Drop a few superfluous ERRP_GUARD()
      error: Move ERRP_GUARD() to the beginning of the function
      monitor: Simplify monitor_fd_param()'s error handling
      monitor: Use ERRP_GUARD() in monitor_init()
      qemu-config: Make config_parse_qdict() return bool
      qemu-config: Use ERRP_GUARD() where obviously appropriate
      sockets: Use ERRP_GUARD() where obviously appropriate
      qapi: Use returned bool to check for failure (again)
      io: Tidy up fat-fingered parameter name
      cleanup: Tweak and re-run return_directly.cocci
      block/vmdk: Simplify vmdk_co_create() to return directly
      ppc4xx_sdram: Simplify sdram_ddr_size() to return

 scripts/coccinelle/return_directly.cocci |  5 +--
 include/hw/pci/pci.h                     |  7 +---
 include/io/channel.h                     |  2 +-
 include/qemu/config-file.h               |  2 +-
 target/avr/cpu.h                         |  4 +-
 accel/kvm/kvm-all.c                      |  5 +--
 block/blkdebug.c                         |  4 +-
 block/copy-before-write.c                |  1 -
 block/vmdk.c                             | 28 ++++++--------
 bsd-user/elfload.c                       |  2 +-
 contrib/plugins/cache.c                  |  8 ++--
 contrib/vhost-user-blk/vhost-user-blk.c  |  2 +-
 dump/dump.c                              |  2 -
 hw/9pfs/9p-synth.c                       | 14 ++-----
 hw/arm/armsse.c                          |  3 +-
 hw/arm/virt.c                            | 14 +++----
 hw/char/sifive_uart.c                    |  4 +-
 hw/core/machine.c                        |  3 +-
 hw/core/qdev-clock.c                     |  2 +-
 hw/core/qdev-properties-system.c         |  5 +--
 hw/core/qdev.c                           |  2 -
 hw/hyperv/vmbus.c                        | 10 ++---
 hw/i386/pc.c                             |  5 +--
 hw/net/cadence_gem.c                     |  2 +-
 hw/net/virtio-net.c                      |  2 +-
 hw/nvme/ctrl.c                           |  4 +-
 hw/pci/msi.c                             |  1 -
 hw/ppc/ppc4xx_sdram.c                    | 15 ++------
 hw/rdma/vmw/pvrdma_cmd.c                 | 66 +++++++++++---------------------
 hw/rdma/vmw/pvrdma_qp_ops.c              |  6 +--
 hw/remote/vfio-user-obj.c                |  1 -
 hw/virtio/vhost-user.c                   |  6 +--
 hw/virtio/vhost-vdpa.c                   |  2 +-
 hw/virtio/virtio-balloon.c               | 20 +++++-----
 hw/virtio/virtio-iommu.c                 |  3 +-
 hw/virtio/virtio-mem.c                   | 10 +----
 iothread.c                               |  2 +-
 linux-user/syscall.c                     |  2 +-
 migration/dirtyrate.c                    | 10 +----
 migration/tls.c                          |  6 +--
 monitor/misc.c                           | 14 ++-----
 monitor/monitor.c                        | 12 ++----
 monitor/qmp-cmds.c                       |  4 +-
 net/colo-compare.c                       | 13 ++-----
 qga/commands-win32.c                     |  8 ++--
 replay/replay-time.c                     |  5 +--
 semihosting/console.c                    |  4 +-
 softmmu/memory.c                         | 11 +-----
 softmmu/physmem.c                        |  9 +----
 target/i386/hax/hax-all.c                |  2 +-
 target/i386/kvm/kvm.c                    |  5 +--
 target/loongarch/cpu.c                   |  4 +-
 target/mips/tcg/dsp_helper.c             | 15 ++------
 target/riscv/debug.c                     |  6 +--
 target/riscv/vector_helper.c             | 28 ++++----------
 tests/bench/benchmark-crypto-akcipher.c  |  6 +--
 tests/qtest/erst-test.c                  |  5 +--
 tests/qtest/hexloader-test.c             |  6 +--
 tests/qtest/pvpanic-pci-test.c           |  6 +--
 tests/qtest/pvpanic-test.c               |  6 +--
 tests/qtest/test-filter-mirror.c         |  6 +--
 tests/qtest/virtio-ccw-test.c            |  6 +--
 tests/tcg/aarch64/system/semiheap.c      |  4 +-
 tests/tcg/multiarch/sha512.c             |  9 +----
 tools/virtiofsd/fuse_lowlevel.c          | 24 +++---------
 ui/util.c                                |  1 -
 util/qemu-config.c                       | 46 ++++++++++------------
 util/qemu-sockets.c                      | 26 +++++--------
 util/thread-context.c                    | 10 +----
 util/vfio-helpers.c                      |  2 +-
 70 files changed, 188 insertions(+), 407 deletions(-)

-- 
2.37.3
Re: [PULL 00/14] Miscellaneous patches for 2022-12-14
Posted by Peter Maydell 1 year, 4 months ago
On Wed, 14 Dec 2022 at 16:46, Markus Armbruster <armbru@redhat.com> wrote:
>
> The following changes since commit ea3a008d2d9ced9c4f93871c823baee237047f93:
>
>   Update VERSION for v7.2.0-rc4 (2022-12-06 19:53:34 -0500)
>
> are available in the Git repository at:
>
>   https://repo.or.cz/qemu/armbru.git tags/pull-misc-2022-12-14
>
> for you to fetch changes up to 6c5aaee4b61eb8bf60c7c30365432710b4346421:
>
>   ppc4xx_sdram: Simplify sdram_ddr_size() to return (2022-12-14 16:19:35 +0100)
>
> ----------------------------------------------------------------
> Miscellaneous patches for 2022-12-14
>
> ----------------------------------------------------------------


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/7.1
for any user-visible changes.

-- PMM
Re: [PULL 00/14] Miscellaneous patches for 2022-12-14
Posted by Peter Maydell 1 year, 4 months ago
On Thu, 15 Dec 2022 at 13:06, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Wed, 14 Dec 2022 at 16:46, Markus Armbruster <armbru@redhat.com> wrote:
> >
> > The following changes since commit ea3a008d2d9ced9c4f93871c823baee237047f93:
> >
> >   Update VERSION for v7.2.0-rc4 (2022-12-06 19:53:34 -0500)
> >
> > are available in the Git repository at:
> >
> >   https://repo.or.cz/qemu/armbru.git tags/pull-misc-2022-12-14
> >
> > for you to fetch changes up to 6c5aaee4b61eb8bf60c7c30365432710b4346421:
> >
> >   ppc4xx_sdram: Simplify sdram_ddr_size() to return (2022-12-14 16:19:35 +0100)
> >
> > ----------------------------------------------------------------
> > Miscellaneous patches for 2022-12-14
> >
> > ----------------------------------------------------------------
>
>
> Applied, thanks.
>
> Please update the changelog at https://wiki.qemu.org/ChangeLog/7.1
> for any user-visible changes.

Should be https://wiki.qemu.org/ChangeLog/8.0 of course -- I forgot
I hadn't updated my canned email text...

-- PMM