Re: [PATCH] KVM: nSVM: Mark all of vmcb01 dirty when restoring nested state

From: Sean Christopherson

Date: Fri Nov 13 2026 - 15:27:07 EST


On Thu, 05 Nov 2026 14:30:00 -0800, Jim Mattson wrote:
> When restoring a vCPU in guest mode via KVM_SET_NESTED_STATE,
> svm_copy_vmrun_state() updates L1's save state in vmcb01->save directly.
> Stale clean bits may result in the loss of these updates.
>
> Mark all of vmcb01 dirty after svm_copy_vmrun_state() in
> svm_set_nested_state() (cf. svm_leave_smm()).
>
> [...]

Applied to kvm-x86 svm, thanks!

[1/1] KVM: nSVM: Mark all of vmcb01 dirty when restoring nested state
https://github.com/kvm-x86/linux/commit/69a4ba37c75b

--
https://github.com/kvm-x86/linux/tree/next