Commit 9aee52f
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.
Co-developed-by: Matias Ezequiel Vara Larsen <[email protected]>
Signed-off-by: Tyler Fanelli <[email protected]>1 parent d8496aa commit 9aee52f
1 file changed
+10
-0
lines changed| 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