summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-05-29 20:35:38 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2026-06-03 16:43:55 +0200
commitce6ea7b33e0075335b1eb3b227a21a98e3196e41 (patch)
treebabcbee79de0a5dd03ab59d618a9bfd80f46cd34 /rust
parent00b9744a3688758c5c492756d08a1cd599a76965 (diff)
KVM: SEV: Read start/end indices of PSC requests exactly once per #VMGEXIT
Rework Page State Change (PSC) handling to read the guest-provided start and end indices exactly once, at the beginning of the request. Re-reading the indices is "fine", _if_ the guest is well-behaved. KVM _should_ be safe against concurrent guest modification of the indices, but there is zero reason to introduce unnecessary risk. Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com> Reviewed-by: Michael Roth <michael.roth@amd.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-ID: <20260501202250.2115252-14-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20260529183549.1104619-14-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions