Re: [PATCH v3] rust: add qdev Device derive macro

2025-07-11 Thread Paolo Bonzini
> Add derive macro for declaring qdev properties directly above the field > definitions. To do this, we split DeviceImpl::properties method on a > separate trait so we can implement only that part in the derive macro > expansion (we cannot partially implement the DeviceImpl trait). > > Adding a `pr

[PATCH v3] rust: add qdev Device derive macro

2025-07-11 Thread Manos Pitsidianakis
Add derive macro for declaring qdev properties directly above the field definitions. To do this, we split DeviceImpl::properties method on a separate trait so we can implement only that part in the derive macro expansion (we cannot partially implement the DeviceImpl trait). Adding a `property` att