Searched hist:"567 c0c41a6700be72eb9e040ba0b8d7bf0cc5919" (Results 1 – 2 of 2) sorted by relevance
/qemu/rust/qemu-api/tests/ |
H A D | tests.rs | 567c0c41a6700be72eb9e040ba0b8d7bf0cc5919 Thu Feb 13 11:36:42 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> rust: pl011, qemu_api tests: do not use ClassInitImpl
Outside the qemu_api crate, orphan rules make the usage of ClassInitImpl unwieldy. Now that it is optional, do not use it.
For PL011Class, this makes it easier to provide a PL011Impl trait similar to the ones in the qemu_api crate. The device id consts are moved there.
Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
/qemu/rust/hw/char/pl011/src/ |
H A D | device.rs | 567c0c41a6700be72eb9e040ba0b8d7bf0cc5919 Thu Feb 13 11:36:42 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> rust: pl011, qemu_api tests: do not use ClassInitImpl
Outside the qemu_api crate, orphan rules make the usage of ClassInitImpl unwieldy. Now that it is optional, do not use it.
For PL011Class, this makes it easier to provide a PL011Impl trait similar to the ones in the qemu_api crate. The device id consts are moved there.
Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|