All of lore.kernel.org
 help / color / mirror / Atom feed
* [PULL 00/24] Mostly Rust changes for QEMU 10.0
@ 2025-03-21 18:35 Paolo Bonzini
  2025-03-21 18:35 ` [PULL 01/24] rust: Kconfig: Factor out whether PL011 is Rust or C Paolo Bonzini
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: Paolo Bonzini @ 2025-03-21 18:35 UTC (permalink / raw)
  To: qemu-devel

The following changes since commit 1dae461a913f9da88df05de6e2020d3134356f2e:

  Update version for v10.0.0-rc0 release (2025-03-18 10:18:14 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 64acc23c9793e86f2811345f3c122bf3ece8088b:

  rust: hpet: fix decoding of timer registers (2025-03-21 14:23:11 +0100)

The bulk of the changes here are fixes to the vmstate bindings,
also including test cases, and to the Rust devices.

----------------------------------------------------------------
* exec/cpu-all: remove BSWAP_NEEDED
* pl011: pad C PL011State struct to same size as Rust struct
* rust: hpet: fix type of "timers" property
* rust: hpet: fix functional tests (and really everything that uses it)
* rust: Kconfig: Factor out whether devices are Rust or C
* rust: vmstate: Fixes and tests

----------------------------------------------------------------
Paolo Bonzini (4):
      qdev, rust/hpet: fix type of HPET "timers" property
      rust: assertions: add static_assert
      load_aout: replace bswap_needed with big_endian
      rust: hpet: fix decoding of timer registers

Peter Maydell (4):
      rust: Kconfig: Factor out whether PL011 is Rust or C
      rust: Kconfig: Factor out whether HPET is Rust or C
      hw/char/pl011: Pad PL011State struct to same size as Rust impl
      rust: pl011: Check size of state struct at compile time

Pierrick Bouvier (1):
      exec/cpu-all: remove BSWAP_NEEDED

Zhao Liu (15):
      rust/vmstate: Remove unnecessary unsafe
      rust/vmstate: Fix num_offset in vmstate macros
      rust/vmstate: Fix num field when varray flags are set
      rust/vmstate: Fix size field of VMStateField with VMS_ARRAY_OF_POINTER flag
      rust/vmstate: Fix type check for varray in vmstate_struct
      rust/vmstate: Fix "cannot infer type" error in vmstate_struct
      rust/vmstate: Fix unnecessary VMState bound of with_varray_flag()
      rust/vmstate: Relax array check when build varray in vmstate_struct
      rust/vmstate: Re-implement VMState trait for timer binding
      rust/vmstate: Support vmstate_validate
      rust/vmstate: Add unit test for vmstate_of macro
      rust/vmstate: Add unit test for vmstate_{of|struct} macro
      rust/vmstate: Add unit test for pointer case
      rust/vmstate: Add unit test for vmstate_validate
      rust/vmstate: Include complete crate path of VMStateFlags in vmstate_clock

 configs/devices/i386-softmmu/default.mak |   1 -
 include/exec/cpu-all.h                   |  12 -
 include/exec/poison.h                    |   1 -
 include/hw/char/pl011.h                  |   5 +
 include/hw/loader.h                      |   2 +-
 include/hw/qdev-properties.h             |   1 +
 linux-user/syscall_defs.h                |   2 +-
 rust/wrapper.h                           |   1 +
 bsd-user/elfload.c                       |   6 +-
 hw/core/loader.c                         |   4 +-
 hw/core/qdev-properties.c                |  37 +++
 hw/i386/fw_cfg.c                         |   2 +-
 hw/i386/pc.c                             |   2 +-
 hw/ppc/mac_newworld.c                    |   7 +-
 hw/ppc/mac_oldworld.c                    |   7 +-
 hw/sparc/sun4m.c                         |   9 +-
 hw/sparc64/sun4u.c                       |   9 +-
 linux-user/elfload.c                     |   8 +-
 hw/arm/Kconfig                           |  30 +-
 hw/char/Kconfig                          |   6 +
 hw/char/meson.build                      |   2 +-
 hw/timer/Kconfig                         |   8 +-
 hw/timer/meson.build                     |   2 +-
 rust/hw/char/pl011/src/device.rs         |   9 +-
 rust/hw/char/pl011/src/device_class.rs   |   8 +-
 rust/hw/timer/Kconfig                    |   1 -
 rust/hw/timer/hpet/src/hpet.rs           |   8 +-
 rust/qemu-api/meson.build                |   5 +-
 rust/qemu-api/src/assertions.rs          |  37 +++
 rust/qemu-api/src/vmstate.rs             | 100 +++++--
 rust/qemu-api/tests/tests.rs             |   2 +
 rust/qemu-api/tests/vmstate_tests.rs     | 477 +++++++++++++++++++++++++++++++
 tests/qtest/meson.build                  |   3 +-
 33 files changed, 705 insertions(+), 109 deletions(-)
 create mode 100644 rust/qemu-api/tests/vmstate_tests.rs
-- 
2.49.0



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2025-03-24 13:22 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21 18:35 [PULL 00/24] Mostly Rust changes for QEMU 10.0 Paolo Bonzini
2025-03-21 18:35 ` [PULL 01/24] rust: Kconfig: Factor out whether PL011 is Rust or C Paolo Bonzini
2025-03-21 18:35 ` [PULL 02/24] rust: Kconfig: Factor out whether HPET " Paolo Bonzini
2025-03-21 18:35 ` [PULL 03/24] qdev, rust/hpet: fix type of HPET "timers" property Paolo Bonzini
2025-03-21 18:35 ` [PULL 04/24] rust: assertions: add static_assert Paolo Bonzini
2025-03-21 18:35 ` [PULL 05/24] hw/char/pl011: Pad PL011State struct to same size as Rust impl Paolo Bonzini
2025-03-21 18:35 ` [PULL 06/24] rust: pl011: Check size of state struct at compile time Paolo Bonzini
2025-03-21 18:35 ` [PULL 07/24] load_aout: replace bswap_needed with big_endian Paolo Bonzini
2025-03-21 18:35 ` [PULL 08/24] exec/cpu-all: remove BSWAP_NEEDED Paolo Bonzini
2025-03-21 18:35 ` [PULL 09/24] rust/vmstate: Remove unnecessary unsafe Paolo Bonzini
2025-03-21 18:35 ` [PULL 10/24] rust/vmstate: Fix num_offset in vmstate macros Paolo Bonzini
2025-03-21 18:35 ` [PULL 11/24] rust/vmstate: Fix num field when varray flags are set Paolo Bonzini
2025-03-21 18:35 ` [PULL 12/24] rust/vmstate: Fix size field of VMStateField with VMS_ARRAY_OF_POINTER flag Paolo Bonzini
2025-03-21 18:35 ` [PULL 13/24] rust/vmstate: Fix type check for varray in vmstate_struct Paolo Bonzini
2025-03-21 18:35 ` [PULL 14/24] rust/vmstate: Fix "cannot infer type" error " Paolo Bonzini
2025-03-21 18:35 ` [PULL 15/24] rust/vmstate: Fix unnecessary VMState bound of with_varray_flag() Paolo Bonzini
2025-03-21 18:35 ` [PULL 16/24] rust/vmstate: Relax array check when build varray in vmstate_struct Paolo Bonzini
2025-03-21 18:35 ` [PULL 17/24] rust/vmstate: Re-implement VMState trait for timer binding Paolo Bonzini
2025-03-21 18:35 ` [PULL 18/24] rust/vmstate: Support vmstate_validate Paolo Bonzini
2025-03-21 18:35 ` [PULL 19/24] rust/vmstate: Add unit test for vmstate_of macro Paolo Bonzini
2025-03-21 18:35 ` [PULL 20/24] rust/vmstate: Add unit test for vmstate_{of|struct} macro Paolo Bonzini
2025-03-21 18:35 ` [PULL 21/24] rust/vmstate: Add unit test for pointer case Paolo Bonzini
2025-03-21 18:35 ` [PULL 22/24] rust/vmstate: Add unit test for vmstate_validate Paolo Bonzini
2025-03-21 18:35 ` [PULL 23/24] rust/vmstate: Include complete crate path of VMStateFlags in vmstate_clock Paolo Bonzini
2025-03-21 18:35 ` [PULL 24/24] rust: hpet: fix decoding of timer registers Paolo Bonzini
2025-03-23 22:30 ` [PULL 00/24] Mostly Rust changes for QEMU 10.0 Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.