Files
Magnus Kulke fcc504b770 target/i386/mshv: add MshvPutState for vcpu writes
Currently QEMU marks a vcpu state as dirty also on merely inspectional
reads, e.g. via "info registers", which triggers a writeback to the
hypervisor. For MSRs that cause a side-effect when written to this is
undesired.

We introduce an MshvPutState flag into the writeback logic to differentiate
"runtime" from "full" and "reset" writebacks that should occur e.g. after
a migration or startup.

Discrete side-effectful MSRs are excluded in runtime writebacks. So far
we only mark one MSR as not runtime-safe, but probably more will be
added eventually.

Signed-off-by: Magnus Kulke <magnuskulke@linux.microsoft.com>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
Reviewed-by: Mohamed Mediouni <mohamed@unpredictable.fr>
2026-11-11 20:51:04 +01:00
..
2026-08-29 12:07:45 +04:00
2026-05-22 11:21:37 -07:00
2026-11-09 18:45:32 -08:00
2026-11-04 13:17:12 -05:00
2026-10-30 07:06:16 -05:00
2025-09-02 17:57:05 +02:00