diff options
author | Zhao Liu <zhao1.liu@intel.com> | 2025-03-18 21:02:16 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-21 12:56:00 +0100 |
commit | 57c327f3a044ebd6da9efda07e4d264996688110 (patch) | |
tree | f99815211d70125af00089ecb56cb50333278b38 /python/qemu/utils/accel.py | |
parent | 1998502196ad81fde58a48aac2256731bf6d0022 (diff) | |
download | qemu-57c327f3a044ebd6da9efda07e4d264996688110.zip qemu-57c327f3a044ebd6da9efda07e4d264996688110.tar.gz qemu-57c327f3a044ebd6da9efda07e4d264996688110.tar.bz2 |
rust/vmstate: Add unit test for vmstate_{of|struct} macro
Add a unit test to cover some patterns accepted by vmstate_of and
vmstate_struct macros, which correspond to the following C version
macros:
* VMSTATE_BOOL_V
* VMSTATE_U64
* VMSTATE_STRUCT_VARRAY_UINT8
* (no C version) MULTIPLY variant of VMSTATE_STRUCT_VARRAY_UINT32
* VMSTATE_ARRAY
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250318130219.1799170-13-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions