summaryrefslogtreecommitdiffstats
path: root/include/exec/user
diff options
context:
space:
mode:
authorRoman Bolshakov2020-03-28 18:44:12 +0100
committerPaolo Bonzini2020-04-02 20:55:45 +0200
commitddd31732a7379e056749836ff37ff57718083ddb (patch)
treefa61df836309f26873213a01352725aad1798c68 /include/exec/user
parentvl: fix broken IPA range for ARM -M virt with KVM enabled (diff)
downloadqemu-ddd31732a7379e056749836ff37ff57718083ddb.tar.gz
qemu-ddd31732a7379e056749836ff37ff57718083ddb.tar.xz
qemu-ddd31732a7379e056749836ff37ff57718083ddb.zip
i386: hvf: Reset IRQ inhibition after moving RIP
The sequence of instructions exposes an issue: sti hlt Interrupts cannot be delivered to hvf after hlt instruction cpu because HF_INHIBIT_IRQ_MASK is set just before hlt is handled and never reset after moving instruction pointer beyond hlt. So, after hvf_vcpu_exec() returns, CPU thread gets locked up forever in qemu_wait_io_event() (cpu_thread_is_idle() evaluates inhibition flag and considers the CPU idle if the flag is set). Cc: Cameron Esfahani <dirty@apple.com> Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com> Message-Id: <20200328174411.51491-1-r.bolshakov@yadro.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions