summary refs log tree commit diff stats
path: root/rust/qemu-api
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-01-25 00:26:04 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-01-27 19:27:47 +0100
commitab6b6a8a55b5434b77dc229f86179c8d3ca55873 (patch)
tree79942a22d6a9e576fe66bce372cc106474d9ec25 /rust/qemu-api
parent137612772e300a386f0f0c31486eae7d1008a68c (diff)
downloadfocaccia-qemu-ab6b6a8a55b5434b77dc229f86179c8d3ca55873.tar.gz
focaccia-qemu-ab6b6a8a55b5434b77dc229f86179c8d3ca55873.zip
rust: pl011: pull interrupt updates out of read/write ops
qemu_irqs are not part of the vmstate, therefore they will remain in
PL011State.  Update them if needed after regs_read()/regs_write().

Apply #[must_use] to functions that return whether the interrupt state
could have changed, so that it's harder to forget the call to update().

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