Commit bca99c0
KVM: x86/mmu: Print SPTEs on unexpected #VE
Print the SPTEs that correspond to the faulting GPA on an unexpected EPT
Violation #VE to help the user debug failures, e.g. to pinpoint which SPTE
didn't have SUPPRESS_VE set.
Opportunistically assert that the underlying exit reason was indeed an EPT
Violation, as the CPU has *really* gone off the rails if a #VE occurs due
to a completely unexpected exit reason.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20240518000430.1118488-7-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent 743f177 commit bca99c0
3 files changed
Lines changed: 38 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2154 | 2154 | | |
2155 | 2155 | | |
2156 | 2156 | | |
| 2157 | + | |
2157 | 2158 | | |
2158 | 2159 | | |
2159 | 2160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4104 | 4104 | | |
4105 | 4105 | | |
4106 | 4106 | | |
4107 | | - | |
4108 | | - | |
| 4107 | + | |
| 4108 | + | |
4109 | 4109 | | |
4110 | | - | |
4111 | | - | |
4112 | | - | |
4113 | | - | |
| 4110 | + | |
4114 | 4111 | | |
4115 | 4112 | | |
4116 | 4113 | | |
4117 | 4114 | | |
4118 | | - | |
| 4115 | + | |
4119 | 4116 | | |
4120 | | - | |
| 4117 | + | |
4121 | 4118 | | |
4122 | 4119 | | |
| 4120 | + | |
| 4121 | + | |
4123 | 4122 | | |
| 4123 | + | |
| 4124 | + | |
| 4125 | + | |
| 4126 | + | |
| 4127 | + | |
| 4128 | + | |
| 4129 | + | |
| 4130 | + | |
| 4131 | + | |
4124 | 4132 | | |
4125 | 4133 | | |
4126 | 4134 | | |
| |||
5924 | 5932 | | |
5925 | 5933 | | |
5926 | 5934 | | |
| 5935 | + | |
| 5936 | + | |
| 5937 | + | |
| 5938 | + | |
| 5939 | + | |
| 5940 | + | |
| 5941 | + | |
| 5942 | + | |
| 5943 | + | |
| 5944 | + | |
| 5945 | + | |
| 5946 | + | |
| 5947 | + | |
| 5948 | + | |
| 5949 | + | |
| 5950 | + | |
5927 | 5951 | | |
5928 | 5952 | | |
5929 | 5953 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5218 | 5218 | | |
5219 | 5219 | | |
5220 | 5220 | | |
| 5221 | + | |
| 5222 | + | |
| 5223 | + | |
| 5224 | + | |
5221 | 5225 | | |
| 5226 | + | |
5222 | 5227 | | |
5223 | 5228 | | |
5224 | 5229 | | |
| |||
0 commit comments