Commit 2df354e
committed
KVM: x86: Fold retry_instruction() into x86_emulate_instruction()
Now that retry_instruction() is reasonably tiny, fold it into its sole
caller, x86_emulate_instruction(). In addition to getting rid of the
absurdly confusing retry_instruction() name, handling the retry in
x86_emulate_instruction() pairs it back up with the code that resets
last_retry_{eip,address}.
No functional change intended.
Reviewed-by: Yuan Yao <yuan.yao@intel.com>
Link: https://lore.kernel.org/r/20240831001538.336683-12-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent 41e6e36 commit 2df354e
1 file changed
Lines changed: 9 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8924 | 8924 | | |
8925 | 8925 | | |
8926 | 8926 | | |
8927 | | - | |
8928 | | - | |
8929 | | - | |
8930 | | - | |
8931 | | - | |
8932 | | - | |
8933 | | - | |
8934 | | - | |
8935 | | - | |
8936 | | - | |
8937 | | - | |
8938 | | - | |
8939 | | - | |
8940 | | - | |
8941 | | - | |
8942 | | - | |
8943 | | - | |
8944 | | - | |
8945 | | - | |
8946 | | - | |
8947 | 8927 | | |
8948 | 8928 | | |
8949 | 8929 | | |
| |||
9223 | 9203 | | |
9224 | 9204 | | |
9225 | 9205 | | |
9226 | | - | |
| 9206 | + | |
| 9207 | + | |
| 9208 | + | |
| 9209 | + | |
| 9210 | + | |
| 9211 | + | |
| 9212 | + | |
| 9213 | + | |
| 9214 | + | |
9227 | 9215 | | |
9228 | 9216 | | |
9229 | 9217 | | |
| |||
0 commit comments