Home
last modified time | relevance | path

Searched hist:"03 a573b960dae735847e6b6877b5cc3d07466e94" (Results 1 – 1 of 1) sorted by relevance

/qemu/rust/qemu-api/src/
H A Dqdev.rs03a573b960dae735847e6b6877b5cc3d07466e94 Fri Oct 18 08:45:00 UTC 2024 Paolo Bonzini <pbonzini@redhat.com> rust: clean up define_property macro

Use the "struct update" syntax to initialize most of the fields to zero,
and simplify the handmade type-checking of $name.

Reviewed-by: Junjie Mao <junjie.mao@hotmail.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>