aboutsummaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2025-09-21 00:05:17 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-09-22 17:17:19 +0200
commita8f080215f79d211c4be0f896ad5f32dbc3b7c03 (patch)
tree2721df0931809865eabb76312e7272d840472117 /scripts/lib/kdoc/kdoc_files.py
parent9686aa9a05d9ef25c13ddc0af0123e2fc569b0ac (diff)
downloadqemu-a8f080215f79d211c4be0f896ad5f32dbc3b7c03.zip
qemu-a8f080215f79d211c4be0f896ad5f32dbc3b7c03.tar.gz
qemu-a8f080215f79d211c4be0f896ad5f32dbc3b7c03.tar.bz2
rust/qdev: Test bit property for #property
There's a diference between Rust and C: Though C macro (e.g., DEFINE_PROP_BIT or DEFINE_PROP_BIT64) always requires default value, Rust side allows to omit this "default" field in #property, and provides a default value ("0" - false) for this field. This minor difference does not break user habits and should be acceptable. Therefore, the test cases also cover this scenario. 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-10-zhao1.liu@intel.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions