]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust/qdev: add the macro to define bit property
authorZhao Liu <zhao1.liu@intel.com>
Mon, 10 Feb 2025 03:00:43 +0000 (11:00 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 13 Feb 2025 11:51:34 +0000 (12:51 +0100)
commit7f2d4181a3efc3c1fd9de4bdca81317a1116239a
treeff34e980ccbbd03bdbee7839f91ba7fdd086b15a
parentf32352ff9ea1ce3bdf432e29a587ccf84b1ec57a
rust/qdev: add the macro to define bit property

HPET device (Rust device) needs to define the bit type property.

Add a variant of define_property macro to define bit type property.

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250210030051.2562726-3-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/qemu-api/src/qdev.rs