Re: [PATCH v3 04/15] system/cpus: Constify various CPUState arguments
Richard Henderson <[email protected]>
| Newsgroups | org.nongnu.qemu-arm,org.nongnu.qemu-devel,org.nongnu.qemu-riscv |
|---|---|
| Message-ID | <[email protected]> |
On 8/21/26 03:49, Philippe Mathieu-Daudé wrote: > Mark the CPUState structure const when it is only accessed read-only. > > Signed-off-by: Philippe Mathieu-Daudé<[email protected]> > --- > include/hw/core/cpu.h | 4 ++-- > include/system/cpus.h | 4 ++-- > system/cpus.c | 6 +++--- > 3 files changed, 7 insertions(+), 7 deletions(-) Reviewed-by: Richard Henderson <[email protected]> r~