Skip to content

Commit

Permalink
op_helper: removed redundant call to set tpr api
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaly Chipounov <vitaly@cyberhaven.io>
  • Loading branch information
vitaly-cyberhaven committed Feb 11, 2019
1 parent 004ba0b commit 5f56c2a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/target-i386/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -3181,9 +3181,6 @@ void helper_write_crN(int reg, target_ulong t0) {
cpu_x86_update_cr4(env, t0);
break;
case 8:
if (!(env->hflags2 & HF2_VINTR_MASK)) {
cpu_set_apic_tpr(env->apic_state, t0);
}
env->v_tpr = t0 & 0x0f;

// Give a chance to the KVM client to inject any
Expand Down

0 comments on commit 5f56c2a

Please sign in to comment.