Home
last modified time | relevance | path

Searched hist:ac5699c5da51fa9d39bc964e81645953796f7ad1 (Results 1 – 2 of 2) sorted by relevance

/qemu/rust/qemu-api/src/
H A Dqdev.rsac5699c5da51fa9d39bc964e81645953796f7ad1 Wed Feb 12 11:18:10 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> rust: add IsA bounds to QOM implementation traits

Check that the right bounds are provided to the qom_isa! macro
whenever the class is defined to implement a certain class.
This removes the need to add IsA<> bounds together with the
*Impl trait bounds.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
H A Dqom.rsac5699c5da51fa9d39bc964e81645953796f7ad1 Wed Feb 12 11:18:10 UTC 2025 Paolo Bonzini <pbonzini@redhat.com> rust: add IsA bounds to QOM implementation traits

Check that the right bounds are provided to the qom_isa! macro
whenever the class is defined to implement a certain class.
This removes the need to add IsA<> bounds together with the
*Impl trait bounds.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>