Re: [PATCH 07/10] rust: qdev: make ObjectImpl a supertrait of DeviceImpl

2025-01-27 Thread Zhao Liu
On Fri, Jan 17, 2025 at 08:40:00PM +0100, Paolo Bonzini wrote: > Date: Fri, 17 Jan 2025 20:40:00 +0100 > From: Paolo Bonzini > Subject: [PATCH 07/10] rust: qdev: make ObjectImpl a supertrait of > DeviceImpl > X-Mailer: git-send-email 2.47.1 > > In practice it has to be

[PATCH 07/10] rust: qdev: make ObjectImpl a supertrait of DeviceImpl

2025-01-17 Thread Paolo Bonzini
In practice it has to be implemented always in order to access an implementation of ClassInitImpl. Make the relationship explicit in the code. Signed-off-by: Paolo Bonzini --- rust/qemu-api/src/qdev.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/qemu-api/src/qdev.rs