On Mon, Sep 08, 2025 at 12:49:55PM +0200, Paolo Bonzini wrote: > Date: Mon, 8 Sep 2025 12:49:55 +0200 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [PATCH 23/33] rust: split "system" crate > X-Mailer: git-send-email 2.51.0 > > From: Marc-André Lureau <marcandre.lur...@redhat.com> > > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > Link: > https://lore.kernel.org/r/20250827104147.717203-15-marcandre.lur...@redhat.com > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > MAINTAINERS | 1 + > rust/qemu-api/wrapper.h | 3 -- > rust/system/wrapper.h | 29 +++++++++++++++++ > rust/Cargo.lock | 13 ++++++++ > rust/Cargo.toml | 1 + > rust/bql/src/cell.rs | 5 ++- > rust/hw/char/pl011/Cargo.toml | 1 + > rust/hw/char/pl011/meson.build | 1 + > rust/hw/char/pl011/src/device.rs | 2 +- > rust/hw/timer/hpet/Cargo.toml | 1 + > rust/hw/timer/hpet/meson.build | 1 + > rust/hw/timer/hpet/src/device.rs | 12 +++---- > rust/meson.build | 1 + > rust/qemu-api/Cargo.toml | 1 + > rust/qemu-api/meson.build | 7 +++-- > rust/qemu-api/src/bindings.rs | 14 +-------- > rust/qemu-api/src/lib.rs | 1 - > rust/qemu-api/src/sysbus.rs | 2 +- > rust/system/Cargo.toml | 22 +++++++++++++ > rust/system/build.rs | 1 + > rust/system/meson.build | 42 +++++++++++++++++++++++++ > rust/system/src/bindings.rs | 41 ++++++++++++++++++++++++ > rust/system/src/lib.rs | 6 ++++ > rust/{qemu-api => system}/src/memory.rs | 2 +- > 24 files changed, 177 insertions(+), 33 deletions(-) > create mode 100644 rust/system/wrapper.h > create mode 100644 rust/system/Cargo.toml > create mode 120000 rust/system/build.rs > create mode 100644 rust/system/meson.build > create mode 100644 rust/system/src/bindings.rs > create mode 100644 rust/system/src/lib.rs > rename rust/{qemu-api => system}/src/memory.rs (99%)
Reviewed-by: Zhao Liu <zhao1....@intel.com>