rust: qom: get rid of ClassInitImpl
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 13 Feb 2025 11:37:43 +0000 (12:37 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 25 Feb 2025 15:18:12 +0000 (16:18 +0100)
commitd556226d6965738e06a1d75faaf271b769bb5880
treee242a3f8d66528eda3ceaa54ba5f91df76ef7d77
parent567c0c41a6700be72eb9e040ba0b8d7bf0cc5919
rust: qom: get rid of ClassInitImpl

Complete the conversion from the ClassInitImpl trait to class_init() methods.
This will provide more freedom to split the qemu_api crate in separate parts.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/hw/char/pl011/src/device.rs
rust/hw/timer/hpet/src/hpet.rs
rust/qemu-api/src/qdev.rs
rust/qemu-api/src/qom.rs
rust/qemu-api/src/sysbus.rs
rust/qemu-api/tests/tests.rs