commit | ab6b6a8a55b5434b77dc229f86179c8d3ca55873 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Sat Jan 25 00:26:04 2025 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jan 27 19:27:47 2025 +0100 |
tree | 79942a22d6a9e576fe66bce372cc106474d9ec25 | |
parent | 137612772e300a386f0f0c31486eae7d1008a68c [diff] |
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>