rust: add SysBusDeviceImpl
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Feb 2025 11:23:59 +0000 (12:23 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 25 Feb 2025 15:18:12 +0000 (16:18 +0100)
commit3212da0033530ae896d31d90d5e81a772fc37088
tree07df8b7bb6e44cad8b378633df534007ddd7577c
parentac5699c5da51fa9d39bc964e81645953796f7ad1
rust: add SysBusDeviceImpl

The only function, right now, is to ensure that anything with a
SysBusDeviceClass class is a SysBusDevice.

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/sysbus.rs