Re: [PATCH 17/24] rust/qemu-api: Use device_class_set_props_n

2024-12-16 Thread Paolo Bonzini
On Mon, Dec 16, 2024 at 4:54 AM Richard Henderson wrote: > This means we can update declare_properties to drop the > zero terminator at the end of the array as well. > > Cc: qemu-r...@nongnu.org > Signed-off-by: Richard Henderson Reviewed-by: Paolo Bonzini > --- > rust/qemu-api/src/device_cla

[PATCH 17/24] rust/qemu-api: Use device_class_set_props_n

2024-12-15 Thread Richard Henderson
This means we can update declare_properties to drop the zero terminator at the end of the array as well. Cc: qemu-r...@nongnu.org Signed-off-by: Richard Henderson --- rust/qemu-api/src/device_class.rs | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rust/qemu-api/s