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
..
2025-04-23 14:08:44 -07:00
…
2026-08-20 16:40:33 +02:00
…
2025-10-01 08:33:24 +02:00
2025-10-28 14:49:52 +01:00
…
…
…
2025-09-16 17:31:54 +01:00
2026-04-24 21:20:44 +02:00