Re: [Qemu-devel] [PATCH v3 09/11] target-i386: defer VMEXIT to do_interrupt

2017-03-07 Thread Richard Henderson
On 03/08/2017 02:50 AM, Alex Bennée wrote: From: Paolo Bonzini Paths through the softmmu code during code generation now need to be audited to check for double locking of tb_lock. In particular, VMEXIT can take tb_lock through cpu_vmexit -> cpu_x86_update_cr4 -> tlb_flush. To avoid this, spli

[Qemu-devel] [PATCH v3 09/11] target-i386: defer VMEXIT to do_interrupt

2017-03-07 Thread Alex Bennée
From: Paolo Bonzini Paths through the softmmu code during code generation now need to be audited to check for double locking of tb_lock. In particular, VMEXIT can take tb_lock through cpu_vmexit -> cpu_x86_update_cr4 -> tlb_flush. To avoid this, split VMEXIT delivery in two parts, similar to wh