aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src/lib.rs
diff options
context:
space:
mode:
authorZhao Liu <zhao1.liu@intel.com>2025-03-18 21:02:17 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-03-21 12:56:00 +0100
commit8df1b0012aba2501bb1654cb4fbdf1b52ce22222 (patch)
tree9fe9d92ea639dee1ca04a72807bcd505413ba20f /rust/qemu-api/src/lib.rs
parent57c327f3a044ebd6da9efda07e4d264996688110 (diff)
downloadqemu-8df1b0012aba2501bb1654cb4fbdf1b52ce22222.zip
qemu-8df1b0012aba2501bb1654cb4fbdf1b52ce22222.tar.gz
qemu-8df1b0012aba2501bb1654cb4fbdf1b52ce22222.tar.bz2
rust/vmstate: Add unit test for pointer case
Add a unit test to cover some patterns accepted by vmstate_of macro, which correspond to the following C version macros: * VMSTATE_POINTER * VMSTATE_ARRAY_OF_POINTER Note: Currently, vmstate_struct can't handle the pointer to structure case. Leave this case as a FIXME and use vmstate_unused as a place holder. Signed-off-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250318130219.1799170-14-zhao1.liu@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/lib.rs')
0 files changed, 0 insertions, 0 deletions