> According to PowerISA, the PIR register should be readable in privileged mode > also, not only in hypervisor privileged mode.
The code makes sense but it doesn't seem created by git format-patch. If so, could you please follow the instructions from https://wiki.qemu.org/Contribute/SubmitAPatch and resend it? (note you need to cc the maintainers) In the next version you can include my review. Reviewed-by: Jose Ricardo Ziviani <jos...@linux.ibm.com> Thanks