diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-18 07:42:40 -0600 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-19 19:33:37 +0100 |
commit | cb9f4b28ee115f14f336a4a87c593fa1685e42df (patch) | |
tree | 62989ff2f6bfad05b86c9cc44b1713cf34289111 /rust/qemu-api/src/irq.rs | |
parent | 588611972f774cacf2e15c73e3d61b54929c0528 (diff) | |
download | qemu-cb9f4b28ee115f14f336a4a87c593fa1685e42df.zip qemu-cb9f4b28ee115f14f336a4a87c593fa1685e42df.tar.gz qemu-cb9f4b28ee115f14f336a4a87c593fa1685e42df.tar.bz2 |
hw/core: Introduce device_class_set_props_n
Record the size of the array in DeviceClass.props_count_.
Iterate with known count in qdev_prop_walk.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Lei Yang <leiyang@redhat.com>
Link: https://lore.kernel.org/r/20241218134251.4724-14-richard.henderson@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/irq.rs')
0 files changed, 0 insertions, 0 deletions