qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 16/22] target/i386: move cpu_sync_bndcs_hflags()


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 16/22] target/i386: move cpu_sync_bndcs_hflags() function
Date: Mon, 3 Jul 2017 13:11:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/03/2017 09:34 AM, Paolo Bonzini wrote:
@@ -1302,10 +1332,12 @@ void cpu_report_tpr_access(CPUX86State *env, TPRAccess 
access)
          env->tpr_access_type = access;
cpu_interrupt(cs, CPU_INTERRUPT_TPR);
-    } else {
+    } else if (tcg_enabled()) {
          cpu_restore_state(cs, cs->mem_io_pc);
apic_handle_tpr_access_report(cpu->apic_state, env->eip, access);
+    } else {
+        abort();
      }
  }
  #endif /* !CONFIG_USER_ONLY */

This hunk belongs in another patch.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]