Commit ea60229
committed
KVM: x86: Dedup fastpath MSR post-handling logic
Now that the WRMSR fastpath for x2APIC_ICR and TSC_DEADLINE are identical,
ignoring the backend MSR handling, consolidate the common bits of skipping
the instruction and setting the return value.
No functional change intended.
Link: https://lore.kernel.org/r/20240802195120.325560-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 0dd45f2 commit ea60229
1 file changed
Lines changed: 11 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2186 | 2186 | | |
2187 | 2187 | | |
2188 | 2188 | | |
2189 | | - | |
| 2189 | + | |
| 2190 | + | |
2190 | 2191 | | |
2191 | 2192 | | |
2192 | 2193 | | |
2193 | 2194 | | |
2194 | 2195 | | |
2195 | 2196 | | |
2196 | | - | |
2197 | | - | |
2198 | | - | |
2199 | | - | |
| 2197 | + | |
2200 | 2198 | | |
2201 | 2199 | | |
2202 | 2200 | | |
2203 | | - | |
2204 | | - | |
2205 | | - | |
2206 | | - | |
| 2201 | + | |
2207 | 2202 | | |
2208 | 2203 | | |
| 2204 | + | |
2209 | 2205 | | |
2210 | 2206 | | |
2211 | 2207 | | |
2212 | | - | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
2213 | 2211 | | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
2214 | 2215 | | |
2215 | 2216 | | |
2216 | 2217 | | |
| |||
0 commit comments