diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-07-09 13:49:33 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-07-10 09:01:11 -0700 |
| commit | 98ade8c48c28c227fe2e80e545ff0c57cd4712a3 (patch) | |
| tree | 6c0ad15f88a612e10b7ea9c044ac13ad37c0e989 /include/linux/debugobjects.h | |
| parent | 0060569e4f18a7dee2dd8728595e909f19a23c24 (diff) | |
KVM: SEV: Mark vCPU RUNNABLE after AP_CREATE, even if VMSA is unusable
Always mark the vCPU as RUNNABLE after responding to AP_CREATE, even if the
guest-specified VMSA is unusable, e.g. isn't backed by a memslot or doesn't
have a backing guest_memfd page. If the VMSA is unusable, leaving the vCPU
in a non-running state will effectively hang the vCPU instead of reporting
an error to userspace. This will also allow retrying the VMSA load in the
future, to fix a bug where KVM doesn't honor guest_memfd invalidation
events, e.g. if AP_CREATION races with PUNCH_HOLE.
Cc: stable@vger.kernel.org # 6.12.x
Reviewed-by: Michael Roth <michael.roth@amd.com>
Link: https://patch.msgid.link/20260709204948.1988414-4-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
