]> git.ipfire.org Git - thirdparty/qemu.git/commit
rust/hpet: return errors from realize if properties are incorrect
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 23 May 2025 16:37:55 +0000 (18:37 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 6 Jun 2025 12:32:54 +0000 (14:32 +0200)
commit4d2fec89cb8651ee760ff9296c8d3e2ade4cc063
tree4eb3875ba1b34a4e28a3ba252967b25631059f59
parent14b5a799339d2d21826eac5ab1e98d00b1f1f89f
rust/hpet: return errors from realize if properties are incorrect

Match the code in hpet.c; this also allows removing the
BqlCell from the num_timers field.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/hw/timer/hpet/src/device.rs
rust/hw/timer/hpet/src/fw_cfg.rs