commit | 6dd7d8c6490b73dcc33dfb1fe76c081e7e2eb820 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Sat May 25 10:47:31 2024 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Sat Jun 08 10:33:38 2024 +0200 |
tree | e5649c25c1304f50734bd91ef5e937bc986b7201 | |
parent | 3718523d011e898d414f09a4ed43cf13d76de0b4 [diff] |
target/i386: fix TF/RF handling for HLT HLT uses DISAS_NORETURN because the corresponding helper calls cpu_loop_exit(). However, while gen_eob() clears HF_RF_MASK and synthesizes a #DB exception if single-step is active, none of this is done by HLT. Note that the single-step trap is generated after the halt is finished. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>