Repository navigation
Commit 68efa76
KVM: x86: Emulator support for #UD on CPL>0
Certain instructions (e.g., mwait and monitor) cause a #UD exception when they
are executed in user mode. This is in contrast to the regular privileged
instructions which cause #GP. In order not to mess with SVM interception of
mwait and monitor which assumes privilege level assertions take place before
interception, a flag has been added.
Signed-off-by: Nadav Amit <namit@cs.technion.ac.il>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent 10e38fc commit 68efa76
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
4608 | 4609 | | |
4609 | 4610 | | |
4610 | 4611 | | |
4611 | | - | |
| 4612 | + | |
| 4613 | + | |
| 4614 | + | |
| 4615 | + | |
4612 | 4616 | | |
4613 | 4617 | | |
4614 | 4618 | | |
| |||
0 commit comments