Re: [PATCH 02/15] rust: add SysBusDeviceImpl

2025-02-24 Thread Zhao Liu
On Fri, Feb 21, 2025 at 06:03:29PM +0100, Paolo Bonzini wrote: > Date: Fri, 21 Feb 2025 18:03:29 +0100 > From: Paolo Bonzini > Subject: [PATCH 02/15] rust: add SysBusDeviceImpl > X-Mailer: git-send-email 2.48.1 > > The only function, right now, is to ensure th

[PATCH 02/15] rust: add SysBusDeviceImpl

2025-02-21 Thread Paolo Bonzini
The only function, right now, is to ensure that anything with a SysBusDeviceClass class is a SysBusDevice. Signed-off-by: Paolo Bonzini --- rust/hw/char/pl011/src/device.rs | 5 - rust/hw/timer/hpet/src/hpet.rs | 4 +++- rust/qemu-api/src/sysbus.rs | 8 +--- 3 files changed, 12 in