Il lun 21 ott 2024, 12:19 Junjie Mao ha scritto:
>
> Paolo Bonzini writes:
>
> > Registering the object is now done by the #[derive(Object)] macro.
>
> The module_init! macro is still necessary when a device needs more logic
> (in addition to a single type registration) in module init. That is n
Paolo Bonzini writes:
> Registering the object is now done by the #[derive(Object)] macro.
The module_init! macro is still necessary when a device needs more logic
(in addition to a single type registration) in module init. That is not
rare among the devices in C we have today.
Manos and I ha
Registering the object is now done by the #[derive(Object)] macro.
Signed-off-by: Paolo Bonzini
---
rust/qemu-api/src/definitions.rs | 43
1 file changed, 43 deletions(-)
diff --git a/rust/qemu-api/src/definitions.rs b/rust/qemu-api/src/definitions.rs
index 49ac