diff options
| author | Sean Christopherson <[email protected]> | 2025-02-15 01:06:08 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2025-02-25 15:10:47 +0000 |
| commit | b9595d1ddef883f538563c779fff2151ee040aeb (patch) | |
| tree | d7eb46b1828384146ec8d79163546c0a5b309071 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | KVM: selftests: Add a nested (forced) emulation intercept test for x86 (diff) | |
| download | kernel-b9595d1ddef883f538563c779fff2151ee040aeb.tar.gz kernel-b9595d1ddef883f538563c779fff2151ee040aeb.zip | |
KVM: x86: Don't inject PV async #PF if SEND_ALWAYS=0 and guest state is protected
Don't inject PV async #PFs into guests with protected register state, i.e.
SEV-ES and SEV-SNP guests, unless the guest has opted-in to receiving #PFs
at CPL0. For protected guests, the actual CPL of the guest is unknown.
Note, no sane CoCo guest should enable PV async #PF, but the current state
of Linux-as-a-CoCo-guest isn't entirely sane.
Fixes: add5e2f04541 ("KVM: SVM: Add support for the SEV-ES VMSA")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
