Commit 8b56864
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: Matias Ezequiel Vara Larsen <[email protected]>
Signed-off-by: Tyler Fanelli <[email protected]>1 parent cb0a2f7 commit 8b56864
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
1246 | 1246 | | |
1247 | 1247 | | |
1248 | 1248 | | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
| 1257 | + | |
| 1258 | + | |
| 1259 | + | |
1249 | 1260 | | |
1250 | 1261 | | |
1251 | 1262 | | |
| |||
0 commit comments