On 5/4/26 14:30, Marc-André Lureau wrote:
> 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.
> 
> Reviewed-by: Peter Xu <[email protected]>
> Signed-off-by: Marc-AndrĂ© Lureau <[email protected]>
> ---

[...]

> +
> +type_init(ram_discard_manager_register_types)
> diff --git a/rust/bindings/system-sys/lib.rs b/rust/bindings/system-sys/lib.rs
> index 022fe65dd83..30adf683c35 100644
> --- a/rust/bindings/system-sys/lib.rs
> +++ b/rust/bindings/system-sys/lib.rs
> @@ -20,7 +20,7 @@
>  
>  use common::Zeroable;
>  use hwcore_sys::{qemu_irq, DeviceClass, DeviceState};
> -use qom_sys::{InterfaceClass, Object, ObjectClass};
> +use qom_sys::{Object, ObjectClass};
>  use util_sys::{Error, EventNotifier, QEMUBH};

Why does that belong here? If it actually belongs here, spell it out in the
patch description, please.

LGTM

Acked-by: David Hildenbrand <[email protected]>

-- 
Cheers,

David

Reply via email to