qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [patch 01/11] qemu: create helper for event notificatio


From: Marcelo Tosatti
Subject: [Qemu-devel] Re: [patch 01/11] qemu: create helper for event notification
Date: Thu, 16 Apr 2009 17:58:36 -0300
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Apr 16, 2009 at 03:53:04PM -0500, Anthony Liguori wrote:
>>      }
>>  }
>>   
>
> I always thought next_cpu was used here to cover an explicit race condition.
>
> If you're using TCG, and you get a single after running the loop, but  
> before assigning cpu_single_env, then you'll set the interrupt exit  
> request on the old CPU state.  You'll eventually exit I guess but you  
> potentially have to run through multiple VCPUs.
>
> I'd feel more comfortable if we preserved the behavior here that we had  
> before.

Right. Patch 7 reverts to the old behaviour.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]