summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-07-09 13:49:41 -0700
committerSean Christopherson <seanjc@google.com>2026-07-10 09:01:11 -0700
commit98fb11aed12ba8c2edb42428a0188f726a61182f (patch)
tree149e8aa6f1c3c7dd954c6417ee3881142c1d425a /include/linux/debugobjects.h
parentd1a3c216233413f57f5341a9b878b7e2dde7e785 (diff)
KVM: SEV: Mark vCPU has having guest-provided VMSA even if its invalid
Track the guest as having a guest-provided VMSA as soon as control.vmsa_pa is invalidated, instead of waiting to see if the guest-provided VMSA is usable, so that KVM doesn't switch back to the original VMSA instead of exiting to userspace (due to an invalid VMSA). By the time a vCPU tries to load a guest-provided VMSA, KVM has already communicated "success" for AP creation, i.e. KVM has committed to using the guest-provided VMSA. Reviewed-by: Michael Roth <michael.roth@amd.com> Link: https://patch.msgid.link/20260709204948.1988414-12-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions