|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-devel] [RFC PATCH v9 09/23] replay: interrupts and exceptions |
| Date: | Wed, 18 Feb 2015 14:54:02 +0100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 18/02/2015 12:56, Pavel Dovgalyuk wrote:
> +{
> + bool res = false;
> + if (replay_mode == REPLAY_MODE_PLAY) {
> + replay_account_executed_instructions();
> + replay_mutex_lock();
> + if (skip_async_events(EVENT_EXCEPTION)) {
> + res = true;
> + }
Just "res = skip_async_events(EVENT_EXCEPTION)" is simpler.
Paolo
> + replay_mutex_unlock();
> + }
> +
| [Prev in Thread] | Current Thread | [Next in Thread] |