]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust/qdev: Drop declare_properties & define_property macros
authorZhao Liu <zhao1.liu@intel.com>
Sat, 20 Sep 2025 16:05:20 +0000 (00:05 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 22 Sep 2025 15:17:19 +0000 (17:17 +0200)
commit0a7fe8d407009840bee0e6d95005714ede51d0b8
treea6b8fe228ace9d9ac0135a6b95cae97e28fef848
parentb160ebadc196091ca7abe00471f49fdc6bb8faf6
rust/qdev: Drop declare_properties & define_property macros

After HPET's #property conversion, there's no use case for
declare_properties & define_property. So get rid of them for now.

In future, if there's something that #property really cannot resolve,
they can be brought back.

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20250920160520.3699591-13-zhao1.liu@intel.com
rust/hw/core/src/qdev.rs