|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [RFC PATCH v1 7/9] cpus: move icount preparation out of tcg_exec_cpu |
Date: | Tue, 4 Apr 2017 12:53:26 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 04/04/2017 12:46, Alex Bennée wrote: >> In theory the main-loop should be sequenced before or after vCPU events >> because of the BQL. I'm not sure why this is not currently the case. > > It seems cpu_handle_exception doesn't take the BQL until > replay_exception() has done its thing. This is fixable but the function > is a mess so I'm trying to neaten that up first. Long term neither cpu_handle_exception nor cpu_handle_interrupt need the BQL at all. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |