Commit 2907fca
committed
vmm/linux/tee: Handle KVM_EXIT_MEMORY_FAULT exits
Like KVM_EXIT_HYPERCALL, KVM_EXIT_MEMORY_FAULT is used by SEV-SNP guests
to set memory regions to private or shared. Allow vCPUs encountering a
KVM_EXIT_MEMORY_FAULT to re-use the shared/private memory handler used
by KVM_EXIT_HYPERCALL to set regions to private or shared.
Signed-off-by: Tyler Fanelli <tfanelli@redhat.com>1 parent d8496aa commit 2907fca
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
1243 | 1253 | | |
1244 | 1254 | | |
1245 | 1255 | | |
| |||
0 commit comments