On Mon, Sep 08, 2025 at 12:49:56PM +0200, Paolo Bonzini wrote: > Date: Mon, 8 Sep 2025 12:49:56 +0200 > From: Paolo Bonzini <[email protected]> > Subject: [PATCH 24/33] rust: split "hwcore" crate > X-Mailer: git-send-email 2.51.0 > > From: Marc-André Lureau <[email protected]> > > Signed-off-by: Marc-André Lureau <[email protected]> > Link: > https://lore.kernel.org/r/[email protected] > Signed-off-by: Paolo Bonzini <[email protected]> > --- > MAINTAINERS | 1 + > rust/hw/core/wrapper.h | 32 +++++++++ > rust/qemu-api/wrapper.h | 6 -- > rust/Cargo.lock | 17 +++++ > rust/Cargo.toml | 1 + > rust/bindings/src/lib.rs | 64 ++++++++++++++++++ > rust/hw/char/pl011/Cargo.toml | 1 + > rust/hw/char/pl011/meson.build | 1 + > rust/hw/char/pl011/src/device.rs | 10 ++- > rust/hw/core/Cargo.toml | 26 ++++++++ > rust/hw/core/build.rs | 1 + > rust/hw/core/meson.build | 80 +++++++++++++++++++++++ > rust/hw/core/src/bindings.rs | 41 ++++++++++++ > rust/{qemu-api => hw/core}/src/irq.rs | 0 > rust/hw/core/src/lib.rs | 14 ++++ > rust/{qemu-api => hw/core}/src/qdev.rs | 2 +- > rust/{qemu-api => hw/core}/src/sysbus.rs | 0 > rust/{qemu-api => hw/core}/tests/tests.rs | 7 +- > rust/hw/timer/hpet/Cargo.toml | 1 + > rust/hw/timer/hpet/meson.build | 1 + > rust/hw/timer/hpet/src/device.rs | 26 ++++---- > rust/meson.build | 1 + > rust/qemu-api-macros/src/lib.rs | 10 +-- > rust/qemu-api-macros/src/tests.rs | 20 +++--- > rust/qemu-api/Cargo.toml | 1 + > rust/qemu-api/meson.build | 17 +---- > rust/qemu-api/src/bindings.rs | 10 --- > rust/qemu-api/src/lib.rs | 4 -- > rust/qemu-api/src/prelude.rs | 4 -- > 29 files changed, 318 insertions(+), 81 deletions(-) > create mode 100644 rust/hw/core/wrapper.h > create mode 100644 rust/bindings/src/lib.rs > create mode 100644 rust/hw/core/Cargo.toml > create mode 120000 rust/hw/core/build.rs > create mode 100644 rust/hw/core/meson.build > create mode 100644 rust/hw/core/src/bindings.rs > rename rust/{qemu-api => hw/core}/src/irq.rs (100%) > create mode 100644 rust/hw/core/src/lib.rs > rename rust/{qemu-api => hw/core}/src/qdev.rs (99%) > rename rust/{qemu-api => hw/core}/src/sysbus.rs (100%) > rename rust/{qemu-api => hw/core}/tests/tests.rs (97%)
Reviewed-by: Zhao Liu <[email protected]>
