Re: [PATCH 05/15] rust: qom: get rid of ClassInitImpl

2025-02-24 Thread Zhao Liu
On Fri, Feb 21, 2025 at 06:03:32PM +0100, Paolo Bonzini wrote: > Date: Fri, 21 Feb 2025 18:03:32 +0100 > From: Paolo Bonzini > Subject: [PATCH 05/15] rust: qom: get rid of ClassInitImpl > X-Mailer: git-send-email 2.48.1 > > Complete the conversion from the ClassInitImpl t

[PATCH 05/15] rust: qom: get rid of ClassInitImpl

2025-02-21 Thread Paolo Bonzini
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. Signed-off-by: Paolo Bonzini --- rust/hw/char/pl011/src/device.rs | 6 +- rust/hw/timer/hpet/src/hpet.rs | 4 +- rust/qemu-api/src/qde