qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 6a23f8: meson: fix botched compile check conv


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 6a23f8: meson: fix botched compile check conversions
Date: Fri, 19 Nov 2021 08:17:43 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 6a23f8190fe953546ce50142d037588fb972f8ce
      
https://github.com/qemu/qemu/commit/6a23f8190fe953546ce50142d037588fb972f8ce
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: fix botched compile check conversions

Fix a bunch of incorrect conversions from configure to Meson, which result
in different outcomes with --extra-cflags=-Werror.

pthread_setname_np needs "#define _GNU_SOURCE" on Linux (which I am using
also for the non-Linux check, so that it correctly fails with an error
about having too few parameters).

Fix struct checks to use has_type instead of has_symbol, and "#define
_GNU_SOURCE" too in the case of struct mmsghdr.

Remove an apostrophe that ended up at the end of a #include line.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 0cc4965049d9792ffede8fc371b58193d6ecbb02
      
https://github.com/qemu/qemu/commit/0cc4965049d9792ffede8fc371b58193d6ecbb02
  Author: nia <nia@NetBSD.org>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M meson.build
    M target/i386/nvmm/nvmm-all.c

  Log Message:
  -----------
  nvmm: Fix support for stable version

NVMM user version 1 is the version being shipped with netbsd-9,
which is the most recent stable branch of NetBSD. This makes it
possible to use the NVMM accelerator on the most recent NetBSD
release, 9.2, which lacks nvmm_cpu_stop.

(CC'ing maintainers)

Signed-off-by: Nia Alarie <nia@NetBSD.org>
Reviewed-by: Kamil Rytarowski <kamil@netbsd.org>
Message-Id: <YWblCe2J8GwCaV9U@homeworld.netbsd.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 3f26c9757726918015d351fafc436b2888689985
      
https://github.com/qemu/qemu/commit/3f26c9757726918015d351fafc436b2888689985
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M hw/scsi/esp.c

  Log Message:
  -----------
  esp: ensure that async_len is reset to 0 during esp_hard_reset()

If a reset command is sent after data has been transferred into the SCSI buffer
ensure that async_len is reset to 0. Otherwise a subsequent TI command assumes
the SCSI buffer contains data to be transferred to the device causing it to
dereference the stale async_buf pointer.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fixes: https://gitlab.com/qemu-project/qemu/-/issues/724
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211118100327.29061-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 283191640c875e0b3e79c75ba2c6bc6b96588666
      
https://github.com/qemu/qemu/commit/283191640c875e0b3e79c75ba2c6bc6b96588666
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M tests/qtest/am53c974-test.c

  Log Message:
  -----------
  qtest/am53c974-test: add test for reset before transfer

Based upon the qtest reproducer posted to Gitlab issue #724 at
https://gitlab.com/qemu-project/qemu/-/issues/724.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20211118100327.29061-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 5135fe71101db08cf65090963247f9b1b8138b73
      
https://github.com/qemu/qemu/commit/5135fe71101db08cf65090963247f9b1b8138b73
  Author: Philippe Mathieu-Daudé <philmd@redhat.com>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M docs/devel/modules.rst
    M docs/devel/multi-thread-tcg.rst
    M docs/devel/style.rst
    M docs/devel/ui.rst
    M docs/interop/nbd.txt
    M docs/interop/qcow2.txt
    M docs/multiseat.txt
    M docs/system/device-url-syntax.rst.inc
    M docs/system/i386/sgx.rst
    M docs/u2f.txt

  Log Message:
  -----------
  docs: Spell QEMU all caps

Replace Qemu -> QEMU.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20211118143401.4101497-1-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: fbab8cc24ded54f371ab9db2c9998be23c158e62
      
https://github.com/qemu/qemu/commit/fbab8cc24ded54f371ab9db2c9998be23c158e62
  Author: Stefan Weil <sw@weilnetz.de>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M meson.build
    M ui/curses.c

  Log Message:
  -----------
  meson.build: Support ncurses on MacOS and OpenBSD

MacOS provides header files for curses 5.7 with support
for wide characters, but requires _XOPEN_SOURCE_EXTENDED=1
to activate that.

By default those old header files are used even if there
is a newer Homebrew installation of ncurses 6.2 available.

Change also the old macro definition of NCURSES_WIDECHAR
and set it to 1 like it is done in newer versions of
curses.h when _XOPEN_SOURCE_EXTENDED=1 is defined.

OpenBSD has the same version of ncurses and needs the same fix.

Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Tested-by: Brad Smith <brad@comstyle.com>
Message-Id: <20211117205355.1392292-1-sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: fdc6e168181d06391711171b7c409b34f2981ced
      
https://github.com/qemu/qemu/commit/fdc6e168181d06391711171b7c409b34f2981ced
  Author: Daniil Tatianin <d-tatianin@yandex-team.ru>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M chardev/wctablet.c

  Log Message:
  -----------
  chardev/wctable: don't free the instance in wctablet_chr_finalize

Object is supposed to be freed by invoking obj->free, and not
obj->instance_finalize. This would lead to use-after-free followed by
double free in object_unref/object_finalize.

Signed-off-by: Daniil Tatianin <d-tatianin@yandex-team.ru>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20211117142349.836279-1-d-tatianin@yandex-team.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8627edfb3f1fca24a96a0954148885c3241c10f8
      
https://github.com/qemu/qemu/commit/8627edfb3f1fca24a96a0954148885c3241c10f8
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M chardev/wctablet.c
    M docs/devel/modules.rst
    M docs/devel/multi-thread-tcg.rst
    M docs/devel/style.rst
    M docs/devel/ui.rst
    M docs/interop/nbd.txt
    M docs/interop/qcow2.txt
    M docs/multiseat.txt
    M docs/system/device-url-syntax.rst.inc
    M docs/system/i386/sgx.rst
    M docs/u2f.txt
    M hw/scsi/esp.c
    M meson.build
    M target/i386/nvmm/nvmm-all.c
    M tests/qtest/am53c974-test.c
    M ui/curses.c

  Log Message:
  -----------
  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging

Bugfixes for 6.2.

# gpg: Signature made Fri 19 Nov 2021 10:33:29 AM CET
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "pbonzini@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
# gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [full]

* tag 'for-upstream' of https://gitlab.com/bonzini/qemu:
  chardev/wctable: don't free the instance in wctablet_chr_finalize
  meson.build: Support ncurses on MacOS and OpenBSD
  docs: Spell QEMU all caps
  qtest/am53c974-test: add test for reset before transfer
  esp: ensure that async_len is reset to 0 during esp_hard_reset()
  nvmm: Fix support for stable version
  meson: fix botched compile check conversions

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/d434a4790564...8627edfb3f1f



reply via email to

[Prev in Thread] Current Thread [Next in Thread]