summary refs log tree commit diff stats
path: root/rust/qemu-api-macros/src
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-05-26 13:52:11 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2025-06-06 14:32:54 +0200
commitb3bf86b8936dbca8689623d22b8955e071143a5e (patch)
treedd1272f55c65646da51903ca1e1eb90d9de2a8ee /rust/qemu-api-macros/src
parent4b66abead9c9c7b637fb87e6bf782a45eee2a621 (diff)
downloadfocaccia-qemu-b3bf86b8936dbca8689623d22b8955e071143a5e.tar.gz
focaccia-qemu-b3bf86b8936dbca8689623d22b8955e071143a5e.zip
rust/hpet: change type of num_timers to usize
Remove the need to convert after every read of the BqlCell.  Because the
vmstate uses a u8 as the size of the VARRAY, this requires switching
the VARRAY to use num_timers_save; which in turn requires ensuring that
the num_timers_save is always there.  For simplicity do this by
removing support for version 1, which QEMU has not been producing for
~15 years.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions