Commit 6adde77
KVM: VMX: Fix check for valid GVA on an EPT violation
[ Upstream commit d0164c1 ]
On an EPT violation, bit 7 of the exit qualification is set if the
guest linear-address is valid. The derived page fault error code
should not be checked for this bit.
Fixes: f300948 ("KVM: VMX: Set PFERR_GUEST_{FINAL,PAGE}_MASK if and only if the GVA is valid")
Cc: [email protected]
Signed-off-by: Sukrit Bhatnagar <[email protected]>
Reviewed-by: Xiaoyao Li <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
(cherry picked from commit 3010739f53438b87216d4c04b19f8139cf44e40b)
Signed-off-by: Wentao Guan <[email protected]>1 parent f9d60e1 commit 6adde77
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments