diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-03 16:27:08 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-06 12:44:46 +0100 |
commit | e8dc87fef2677dc286b3fe72e04d1b763cf98fef (patch) | |
tree | f93280b849aed56d9ebeab044da1aca4695500b6 /rust/qemu-api/src/timer.rs | |
parent | d7f5ae8b30cc9652a4ddcfeb52076f5aef6d78b6 (diff) | |
download | qemu-e8dc87fef2677dc286b3fe72e04d1b763cf98fef.zip qemu-e8dc87fef2677dc286b3fe72e04d1b763cf98fef.tar.gz qemu-e8dc87fef2677dc286b3fe72e04d1b763cf98fef.tar.bz2 |
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/timer.rs')
0 files changed, 0 insertions, 0 deletions