summary refs log tree commit diff stats
path: root/rust/qemu-api/src/zeroable.rs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-03-03 16:27:08 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-03-06 12:44:46 +0100
commite8dc87fef2677dc286b3fe72e04d1b763cf98fef (patch)
treef93280b849aed56d9ebeab044da1aca4695500b6 /rust/qemu-api/src/zeroable.rs
parentd7f5ae8b30cc9652a4ddcfeb52076f5aef6d78b6 (diff)
downloadfocaccia-qemu-e8dc87fef2677dc286b3fe72e04d1b763cf98fef.tar.gz
focaccia-qemu-e8dc87fef2677dc286b3fe72e04d1b763cf98fef.zip
rust: hpet: embed Timer without the Option and Box indirection
This simplifies things for migration, since Option<Box<QEMUTimer>> does not
implement VMState.

This also shows a soundness issue because Timer::new() will leave a NULL
timer list pointer, which can then be dereferenced by Timer::modify().  It
will be fixed shortly.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/zeroable.rs')
0 files changed, 0 insertions, 0 deletions