[PULL 00/21] Fixes patches

marcandre.lureau@redhat.com posted 21 patches 2 years, 1 month ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220322122601.927238-1-marcandre.lureau@redhat.com
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, Christian Schoenebeck <qemu_oss@crudebyte.com>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Thomas Huth <huth@tuxfamily.org>, Stefan Hajnoczi <stefanha@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, "Richard W.M. Jones" <rjones@redhat.com>, Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, "Daniel P. Berrangé" <berrange@redhat.com>, Greg Kurz <groug@kaod.org>, "Alex Bennée" <alex.bennee@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <ani@anisinha.ca>, Huacai Chen <chenhuacai@kernel.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Aurelien Jarno <aurelien@aurel32.net>, Jiri Pirko <jiri@resnulli.us>, Jason Wang <jasowang@redhat.com>, Stefano Stabellini <sstabellini@kernel.org>, Anthony Perard <anthony.perard@citrix.com>, Paul Durrant <paul@xen.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Yanan Wang <wangyanan55@huawei.com>, Markus Armbruster <armbru@redhat.com>, Michael Roth <michael.roth@amd.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Eric Blake <eblake@redhat.com>, Vladimir Sementsov-Ogievskiy <v.sementsov-og@mail.ru>, Konstantin Kostiuk <kkostiuk@redhat.com>, John Snow <jsnow@redhat.com>, Cleber Rosa <crosa@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Chris Wulff <crwulff@gmail.com>, Marek Vasut <marex@denx.de>, Havard Skinnemoen <hskinnemoen@google.com>, Tyrone Ting <kfting@nuvoton.com>, Zhang Chen <chen.zhang@intel.com>, Li Zhijian <lizhijian@fujitsu.com>
There is a newer version of this series
configure                               | 49 +------------------------
meson.build                             | 48 +++++++++++++++++++++---
audio/audio.h                           |  4 +-
block/qcow2.h                           |  2 +-
bsd-user/qemu.h                         |  2 +-
hw/display/qxl.h                        |  2 +-
hw/net/rocker/rocker.h                  |  2 +-
hw/xen/xen_pt.h                         |  2 +-
include/chardev/char-fe.h               |  2 +-
include/disas/dis-asm.h                 |  2 +-
include/hw/acpi/aml-build.h             | 12 +++---
include/hw/core/cpu.h                   |  2 +-
include/hw/hw.h                         |  2 +-
include/hw/virtio/virtio.h              |  2 +-
include/hw/xen/xen-bus-helper.h         |  4 +-
include/hw/xen/xen-bus.h                |  4 +-
include/hw/xen/xen_common.h             |  2 +-
include/hw/xen/xen_pvdev.h              |  2 +-
include/monitor/monitor.h               |  4 +-
include/qapi/error.h                    | 20 +++++-----
include/qapi/qmp/qjson.h                |  8 ++--
include/qemu-common.h                   | 22 +----------
include/qemu/buffer.h                   |  2 +-
include/qemu/compiler.h                 | 20 ++++------
include/qemu/error-report.h             | 26 ++++++-------
include/qemu/log-for-trace.h            |  2 +-
include/qemu/log.h                      |  2 +-
include/qemu/osdep.h                    |  9 -----
include/qemu/qemu-print.h               |  8 ++--
include/qemu/range.h                    |  4 +-
include/qemu/readline.h                 |  2 +-
include/qom/object.h                    |  6 +--
qga/guest-agent-core.h                  |  2 +-
qga/vss-win32/requester.h               |  2 +-
scripts/cocci-macro-file.h              |  6 +--
tests/qtest/libqos/libqtest.h           | 42 ++++++++++-----------
tests/qtest/libqtest-single.h           |  2 +-
tests/qtest/migration-helpers.h         |  6 +--
audio/alsaaudio.c                       |  4 +-
audio/dsoundaudio.c                     |  4 +-
audio/ossaudio.c                        |  4 +-
audio/paaudio.c                         |  2 +-
audio/sdlaudio.c                        |  2 +-
block/blkverify.c                       |  2 +-
block/qcow2-refcount.c                  | 20 +++++-----
block/ssh.c                             |  4 +-
crypto/cipher-afalg.c                   |  4 +-
crypto/hash-afalg.c                     |  4 +-
fsdev/9p-marshal.c                      |  2 +-
fsdev/virtfs-proxy-helper.c             |  2 +-
gdbstub.c                               |  2 +-
hw/9pfs/9p.c                            |  2 +-
hw/acpi/aml-build.c                     |  4 +-
hw/mips/fuloong2e.c                     |  2 +-
hw/mips/malta.c                         |  2 +-
hw/net/rtl8139.c                        |  2 +-
hw/virtio/virtio.c                      |  2 +-
io/channel-socket.c                     |  6 +--
io/channel-websock.c                    |  2 +-
monitor/hmp.c                           |  4 +-
nbd/server.c                            | 12 +++---
net/announce.c                          | 13 +++++++
net/socket.c                            | 24 ++++++------
qapi/qapi-forward-visitor.c             |  1 -
qapi/qmp-dispatch.c                     |  1 -
qapi/string-output-visitor.c            |  1 -
qemu-img.c                              |  4 +-
qemu-io.c                               | 12 +++---
qga/main.c                              |  1 -
qobject/json-parser.c                   |  2 +-
softmmu/qtest.c                         |  4 +-
softmmu/vl.c                            |  6 ++-
storage-daemon/qemu-storage-daemon.c    |  2 +-
target/m68k/m68k-semi.c                 |  2 +-
target/nios2/nios2-semi.c               |  2 +-
tests/qtest/e1000e-test.c               |  4 +-
tests/qtest/libqtest.c                  |  6 +--
tests/qtest/npcm7xx_emc-test.c          |  4 +-
tests/qtest/test-filter-mirror.c        |  4 +-
tests/qtest/test-filter-redirector.c    |  8 ++--
tests/qtest/virtio-net-test.c           | 10 ++---
tests/unit/check-qobject.c              |  1 -
tests/unit/socket-helpers.c             |  2 +-
tests/unit/test-qobject-input-visitor.c |  4 +-
trace/control.c                         |  2 +-
util/cutils.c                           | 16 --------
util/osdep.c                            |  4 +-
util/qemu-error.c                       | 24 +++---------
util/qemu-sockets.c                     | 10 ++---
audio/coreaudio.m                       |  4 +-
qemu-options.hx                         |  2 +
scripts/checkpatch.pl                   |  6 +--
scripts/modinfo-collect.py              |  5 ---
93 files changed, 278 insertions(+), 347 deletions(-)
[PULL 00/21] Fixes patches
Posted by marcandre.lureau@redhat.com 2 years, 1 month ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

The following changes since commit 48fb0a826eea2e7b0135f49e7fa63e7efe2b7677:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2022-03-21 21:27:14 +0000)

are available in the Git repository at:

  git@gitlab.com:marcandre.lureau/qemu.git tags/fixes-pull-request

for you to fetch changes up to 4ea4bec6f459ff1af6af01677d5bfac240db0201:

  qapi: remove needless include (2022-03-22 14:46:18 +0400)

----------------------------------------------------------------
Fixes and cleanups for 7.0

Hi,

A collection of fixes & cleanup patches that should be safe for 7.0 inclusion.

----------------------------------------------------------------

Marc-André Lureau (21):
  qemu-options: define -spice only #ifdef CONFIG_SPICE
  vl: typo fix in a comment
  m68k/nios2-semi: fix gettimeofday() result check
  Drop qemu_foo() socket API wrapper
  Replace GCC_FMT_ATTR with G_GNUC_PRINTF
  compiler.h: replace QEMU_WARN_UNUSED_RESULT with
    G_GNUC_WARN_UNUSED_RESULT
  compiler.h: replace QEMU_SENTINEL with G_GNUC_NULL_TERMINATED
  Simplify HOST_LONG_BITS
  Move HOST_LONG_BITS to compiler.h
  scripts/modinfo-collect: remove unused/dead code
  util: remove needless includes
  util: remove the net/net.h dependency
  qapi: remove needless include
  meson: move int128 checks from configure
  meson: fix CONFIG_ATOMIC128 check
  qapi: remove needless include
  qga: remove bswap.h include
  error: use GLib to remember the program name
  tests: remove needless include
  Remove trailing ; after G_DEFINE_AUTO macro
  qapi: remove needless include

 configure                               | 49 +------------------------
 meson.build                             | 48 +++++++++++++++++++++---
 audio/audio.h                           |  4 +-
 block/qcow2.h                           |  2 +-
 bsd-user/qemu.h                         |  2 +-
 hw/display/qxl.h                        |  2 +-
 hw/net/rocker/rocker.h                  |  2 +-
 hw/xen/xen_pt.h                         |  2 +-
 include/chardev/char-fe.h               |  2 +-
 include/disas/dis-asm.h                 |  2 +-
 include/hw/acpi/aml-build.h             | 12 +++---
 include/hw/core/cpu.h                   |  2 +-
 include/hw/hw.h                         |  2 +-
 include/hw/virtio/virtio.h              |  2 +-
 include/hw/xen/xen-bus-helper.h         |  4 +-
 include/hw/xen/xen-bus.h                |  4 +-
 include/hw/xen/xen_common.h             |  2 +-
 include/hw/xen/xen_pvdev.h              |  2 +-
 include/monitor/monitor.h               |  4 +-
 include/qapi/error.h                    | 20 +++++-----
 include/qapi/qmp/qjson.h                |  8 ++--
 include/qemu-common.h                   | 22 +----------
 include/qemu/buffer.h                   |  2 +-
 include/qemu/compiler.h                 | 20 ++++------
 include/qemu/error-report.h             | 26 ++++++-------
 include/qemu/log-for-trace.h            |  2 +-
 include/qemu/log.h                      |  2 +-
 include/qemu/osdep.h                    |  9 -----
 include/qemu/qemu-print.h               |  8 ++--
 include/qemu/range.h                    |  4 +-
 include/qemu/readline.h                 |  2 +-
 include/qom/object.h                    |  6 +--
 qga/guest-agent-core.h                  |  2 +-
 qga/vss-win32/requester.h               |  2 +-
 scripts/cocci-macro-file.h              |  6 +--
 tests/qtest/libqos/libqtest.h           | 42 ++++++++++-----------
 tests/qtest/libqtest-single.h           |  2 +-
 tests/qtest/migration-helpers.h         |  6 +--
 audio/alsaaudio.c                       |  4 +-
 audio/dsoundaudio.c                     |  4 +-
 audio/ossaudio.c                        |  4 +-
 audio/paaudio.c                         |  2 +-
 audio/sdlaudio.c                        |  2 +-
 block/blkverify.c                       |  2 +-
 block/qcow2-refcount.c                  | 20 +++++-----
 block/ssh.c                             |  4 +-
 crypto/cipher-afalg.c                   |  4 +-
 crypto/hash-afalg.c                     |  4 +-
 fsdev/9p-marshal.c                      |  2 +-
 fsdev/virtfs-proxy-helper.c             |  2 +-
 gdbstub.c                               |  2 +-
 hw/9pfs/9p.c                            |  2 +-
 hw/acpi/aml-build.c                     |  4 +-
 hw/mips/fuloong2e.c                     |  2 +-
 hw/mips/malta.c                         |  2 +-
 hw/net/rtl8139.c                        |  2 +-
 hw/virtio/virtio.c                      |  2 +-
 io/channel-socket.c                     |  6 +--
 io/channel-websock.c                    |  2 +-
 monitor/hmp.c                           |  4 +-
 nbd/server.c                            | 12 +++---
 net/announce.c                          | 13 +++++++
 net/socket.c                            | 24 ++++++------
 qapi/qapi-forward-visitor.c             |  1 -
 qapi/qmp-dispatch.c                     |  1 -
 qapi/string-output-visitor.c            |  1 -
 qemu-img.c                              |  4 +-
 qemu-io.c                               | 12 +++---
 qga/main.c                              |  1 -
 qobject/json-parser.c                   |  2 +-
 softmmu/qtest.c                         |  4 +-
 softmmu/vl.c                            |  6 ++-
 storage-daemon/qemu-storage-daemon.c    |  2 +-
 target/m68k/m68k-semi.c                 |  2 +-
 target/nios2/nios2-semi.c               |  2 +-
 tests/qtest/e1000e-test.c               |  4 +-
 tests/qtest/libqtest.c                  |  6 +--
 tests/qtest/npcm7xx_emc-test.c          |  4 +-
 tests/qtest/test-filter-mirror.c        |  4 +-
 tests/qtest/test-filter-redirector.c    |  8 ++--
 tests/qtest/virtio-net-test.c           | 10 ++---
 tests/unit/check-qobject.c              |  1 -
 tests/unit/socket-helpers.c             |  2 +-
 tests/unit/test-qobject-input-visitor.c |  4 +-
 trace/control.c                         |  2 +-
 util/cutils.c                           | 16 --------
 util/osdep.c                            |  4 +-
 util/qemu-error.c                       | 24 +++---------
 util/qemu-sockets.c                     | 10 ++---
 audio/coreaudio.m                       |  4 +-
 qemu-options.hx                         |  2 +
 scripts/checkpatch.pl                   |  6 +--
 scripts/modinfo-collect.py              |  5 ---
 93 files changed, 278 insertions(+), 347 deletions(-)

-- 
2.35.1.273.ge6ebfd0e8cbb


Re: [PULL 00/21] Fixes patches
Posted by Peter Maydell 2 years, 1 month ago
On Tue, 22 Mar 2022 at 12:26, <marcandre.lureau@redhat.com> wrote:
>
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> The following changes since commit 48fb0a826eea2e7b0135f49e7fa63e7efe2b7677:
>
>   Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2022-03-21 21:27:14 +0000)
>
> are available in the Git repository at:
>
>   git@gitlab.com:marcandre.lureau/qemu.git tags/fixes-pull-request
>
> for you to fetch changes up to 4ea4bec6f459ff1af6af01677d5bfac240db0201:
>
>   qapi: remove needless include (2022-03-22 14:46:18 +0400)
>
> ----------------------------------------------------------------
> Fixes and cleanups for 7.0
>
> Hi,
>
> A collection of fixes & cleanup patches that should be safe for 7.0 inclusion.
>
> ----------------------------------------------------------------


Applied, thanks.

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

-- PMM