qemu-pmb887x/rust
Marc-André Lureau d444e348b1 system/memory: move RamDiscardManager to separate compilation unit
Extract RamDiscardManager and RamDiscardSource from system/memory.c into
dedicated a unit.

This reduces coupling and allows code that only needs the
RamDiscardManager interface to avoid pulling in all of memory.h
dependencies.

rust-sys bindings are no longer generated for RamDiscardSourceClass at
this point, thus we drop the unneeded InterfaceClass use.

Reviewed-by: Peter Xu <peterx@redhat.com>
Acked-by: David Hildenbrand <david@kernel.org>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260604-rdm5-v5-2-5768e6a0943d@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
2026-06-22 17:08:48 -04:00
..
bindings system/memory: move RamDiscardManager to separate compilation unit 2026-06-22 17:08:48 -04:00
bits
bql rust: move binding generation to bindings/ 2026-01-27 08:57:52 +01:00
chardev rust: move binding generation to bindings/ 2026-01-27 08:57:52 +01:00
common
hw hpet: lower HPET_MAX_TIMERS to 24 2026-03-30 11:36:25 +02:00
migration migration: Remove VMS_MULTIPLY_ELEMENTS and VMSTATE_VARRAY_MULTIPLY() 2026-05-19 16:23:13 -04:00
qemu-macros
qom rust: move binding generation to bindings/ 2026-01-27 08:57:52 +01:00
system rust: move hwcore::sysbus to system crate 2026-01-27 08:57:52 +01:00
tests migration: Remove VMS_MULTIPLY_ELEMENTS and VMSTATE_VARRAY_MULTIPLY() 2026-05-19 16:23:13 -04:00
trace rust: trace: libc does not have syslog on windows 2026-01-27 08:57:51 +01:00
util util: introduce some API docs for logging APIs 2026-03-05 17:40:24 +00:00
.gitignore
Cargo.lock rust: Update Cargo.lock 2026-03-12 12:02:55 +01:00
Cargo.toml rust: use checked_div to make clippy happy 2026-02-27 14:48:04 +01:00
Kconfig
meson.build rust: move hwcore::sysbus to system crate 2026-01-27 08:57:52 +01:00
rustfmt.toml