[PULL 00/14] x86 + misc changes for 2022-09-29

Paolo Bonzini posted 14 patches 1 year, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220929163014.16950-1-pbonzini@redhat.com
Maintainers: Sergio Lopez <slp@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Gerd Hoffmann <kraxel@redhat.com>, "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Andrew Jeffery <andrew@aj.id.au>, Joel Stanley <joel@jms.id.au>, Cornelia Huck <cohuck@redhat.com>, Thomas Huth <thuth@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Jean-Christophe Dubois <jcd@tribudubois.net>, Michael Roth <michael.roth@amd.com>, Konstantin Kostiuk <kkostiuk@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Laurent Vivier <lvivier@redhat.com>
There is a newer version of this series
configure                       |  97 +++-------------------------------------
docs/about/deprecated.rst       |   5 ---
docs/about/removed-features.rst |   5 +++
hw/i386/microvm.c               |   2 +-
hw/i386/pc_piix.c               |   3 +-
hw/i386/pc_q35.c                |   3 +-
hw/i386/x86.c                   |  70 ++++++++++++++++++++++-------
hw/nvram/fw_cfg.c               |  12 ++---
hw/watchdog/sbsa_gwdt.c         |   6 ---
hw/watchdog/watchdog.c          |  43 ------------------
hw/watchdog/wdt_aspeed.c        |   6 ---
hw/watchdog/wdt_diag288.c       |   6 ---
hw/watchdog/wdt_i6300esb.c      |   6 ---
hw/watchdog/wdt_ib700.c         |   6 ---
hw/watchdog/wdt_imx2.c          |   6 ---
include/hw/nvram/fw_cfg.h       |  22 +++++++++
include/sysemu/watchdog.h       |  12 -----
meson                           |   2 +-
meson.build                     |  67 +++++++++++++++++----------
pc-bios/optionrom/Makefile      |  12 ++---
pc-bios/qboot.rom               | Bin 65536 -> 65536 bytes
qemu-options.hx                 |  33 +-------------
qga/meson.build                 |   2 +-
scripts/main.c                  |   1 +
softmmu/vl.c                    |  16 -------
target/i386/kvm/kvm.c           |   2 +-
tests/qtest/dbus-display-test.c |   2 +-
ui/dbus.h                       |   2 +-
28 files changed, 153 insertions(+), 296 deletions(-)
mode change 100644 => 100755 pc-bios/qboot.rom
create mode 100644 scripts/main.c
[PULL 00/14] x86 + misc changes for 2022-09-29
Posted by Paolo Bonzini 1 year, 6 months ago
The following changes since commit 99d6b11b5b44d7dd64f4cb1973184e40a4a174f8:

  Merge tag 'pull-target-arm-20220922' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2022-09-26 13:38:26 -0400)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 1750b7328bd0cf98875df189e9664980db07c692:

  x86: re-initialize RNG seed when selecting kernel (2022-09-29 18:24:13 +0200)

----------------------------------------------------------------
* x86: re-enable rng seeding via SetupData
* x86: reinitialize RNG seed on system reboot and after kernel load
* qboot: rebuild based on latest commit
* watchdog: remove -watchdog option
* update Meson to 0.61.5, move more configure tests

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

I couldn't rerun the CI (I did run it about a week ago before rebasing)
because I finished my Gitlab minutes and haven't yet set up a private
runner.  Apologies in advance if it breaks somehow.

Paolo

Jason A. Donenfeld (5):
      x86: return modified setup_data only if read as memory, not as file
      x86: use typedef for SetupData struct
      x86: reinitialize RNG seed on system reboot
      x86: re-enable rng seeding via SetupData
      x86: re-initialize RNG seed when selecting kernel

Paolo Bonzini (8):
      qboot: rebuild based on latest commit
      configure: do not invoke as/ld directly for pc-bios/optionrom
      watchdog: remove -watchdog option
      ui: fix path to dbus-display1.h
      meson: require 0.61.3
      meson: multiple names can be passed to dependency()
      configure, meson: move C++ compiler detection to meson.build
      configure, meson: move linker flag detection to meson

Ray Zhang (1):
      target/i386/kvm: fix kvmclock_current_nsec: Assertion `time.tsc_timestamp <= migration_tsc' failed

 configure                       |  97 +++-------------------------------------
 docs/about/deprecated.rst       |   5 ---
 docs/about/removed-features.rst |   5 +++
 hw/i386/microvm.c               |   2 +-
 hw/i386/pc_piix.c               |   3 +-
 hw/i386/pc_q35.c                |   3 +-
 hw/i386/x86.c                   |  70 ++++++++++++++++++++++-------
 hw/nvram/fw_cfg.c               |  12 ++---
 hw/watchdog/sbsa_gwdt.c         |   6 ---
 hw/watchdog/watchdog.c          |  43 ------------------
 hw/watchdog/wdt_aspeed.c        |   6 ---
 hw/watchdog/wdt_diag288.c       |   6 ---
 hw/watchdog/wdt_i6300esb.c      |   6 ---
 hw/watchdog/wdt_ib700.c         |   6 ---
 hw/watchdog/wdt_imx2.c          |   6 ---
 include/hw/nvram/fw_cfg.h       |  22 +++++++++
 include/sysemu/watchdog.h       |  12 -----
 meson                           |   2 +-
 meson.build                     |  67 +++++++++++++++++----------
 pc-bios/optionrom/Makefile      |  12 ++---
 pc-bios/qboot.rom               | Bin 65536 -> 65536 bytes
 qemu-options.hx                 |  33 +-------------
 qga/meson.build                 |   2 +-
 scripts/main.c                  |   1 +
 softmmu/vl.c                    |  16 -------
 target/i386/kvm/kvm.c           |   2 +-
 tests/qtest/dbus-display-test.c |   2 +-
 ui/dbus.h                       |   2 +-
 28 files changed, 153 insertions(+), 296 deletions(-)
 mode change 100644 => 100755 pc-bios/qboot.rom
 create mode 100644 scripts/main.c
-- 
2.37.3
Re: [PULL 00/14] x86 + misc changes for 2022-09-29
Posted by Stefan Hajnoczi 1 year, 6 months ago
Please see the following check-cfi-x86_64 failure:

>>> QTEST_QEMU_STORAGE_DAEMON_BINARY=./storage-daemon/qemu-storage-daemon QTEST_QEMU_IMG=./qemu-img MALLOC_PERTURB_=30 QTEST_QEMU_BINARY=./qemu-system-x86_64 G_TEST_DBUS_DAEMON=/builds/qemu-project/qemu/tests/dbus-vmstate-daemon.sh /builds/qemu-project/qemu/build/tests/qtest/dbus-display-test --tap -k
――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――
stderr:
ui/dbus-display1.c:17036:3: runtime error: control flow integrity
check for type 'void (struct _GObject *)' failed during indirect
function call
(/lib64/libgio-2.0.so.0+0x123910): note: (unknown) defined here
ui/dbus-display1.c:17036:3: note: check failed in
/builds/qemu-project/qemu/build/qemu-system-x86_64, destination
function located in /lib64/libgio-2.0.so.0
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
ui/dbus-display1.c:17036:3 in
../tests/qtest/libqtest.c:156: kill_qemu() tried to terminate QEMU
process but encountered exit status 1 (expected 0)
TAP parsing error: Too few tests run (expected 3, got 0)
(test program exited with status code -6)

https://gitlab.com/qemu-project/qemu/-/jobs/3106030360