Commit fc3a915
KVM: X86: Don't report L2 emulation failures to user-space
This patch prevents that emulation failures which result
from emulating an instruction for an L2-Guest results in
being reported to userspace.
Without this patch a malicious L2-Guest would be able to
kill the L1 by triggering a race-condition between an vmexit
and the instruction emulator.
With this patch the L2 will most likely only kill itself in
this situation.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>1 parent 2030753 commit fc3a915Copy full SHA for fc3a915
File tree
Expand file treeCollapse file tree
1 file changed
+10
-4
lines changedOpen diff view settings
Filter options
- arch/x86/kvm
Expand file treeCollapse file tree
1 file changed
+10
-4
lines changedOpen diff view settings
Collapse file
+10-4Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4314 | 4314 | |
4315 | 4315 | |
4316 | 4316 | |
| 4317 | + |
| 4318 | + |
4317 | 4319 | |
4318 | 4320 | |
4319 | | - |
4320 | | - |
4321 | | - |
| 4321 | + |
| 4322 | + |
| 4323 | + |
| 4324 | + |
| 4325 | + |
| 4326 | + |
4322 | 4327 | |
4323 | | - |
| 4328 | + |
| 4329 | + |
4324 | 4330 | |
4325 | 4331 | |
4326 | 4332 | |
|
0 commit comments