People doing VM management requested a way to query if a VM is in PV or not. So this patch exposes the runtime PV attribute which is true once the VM successfully made the switch into PV mode (according to KVM) and did not yet reboot to drop out of it. This of course does never replace attestation, it's merely QEMU's view of the situation. Signed-off-by: Janosch Frank <frankja@linux.ibm.com> CC: Hendrik Brueckner <brueckner@linux.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Link: https://lore.kernel.org/qemu-devel/20260924142846.157848-1-frankja@linux.ibm.com Signed-off-by: Eric Farman <farman@linux.ibm.com>