summary refs log tree commit diff stats
path: root/scripts/qapi/expr.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-07-16 11:36:44 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-07-22 19:19:44 +0200
commitf0ccf770789e48b7a73497b465fdc892d28c1339 (patch)
tree5ef460902dde6d29472a62a33583c65b2c2f9265 /scripts/qapi/expr.py
parent0418f90809aea5b375c859e744c8e8610e9be446 (diff)
downloadfocaccia-qemu-f0ccf770789e48b7a73497b465fdc892d28c1339.tar.gz
focaccia-qemu-f0ccf770789e48b7a73497b465fdc892d28c1339.zip
hpet: fix and cleanup persistence of interrupt status
There are several bugs in the handling of the ISR register:

- switching level->edge was not lowering the interrupt and
  clearing ISR

- switching on the enable bit was not raising a level-triggered
  interrupt if the timer had fired

- the timer must be kept running even if not enabled, in
  order to set the ISR flag, so writes to HPET_TN_CFG must
  not call hpet_del_timer()

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions