Re: [PATCH] do not enter vcpu again if it was stopped during IO

Gleb Natapov
2010-06-23T08:24:08Z

On Wed, Jun 23, 2010 at 11:22:15AM +0300, Avi Kivity wrote:
> On 06/21/2010 12:01 PM, Gleb Natapov wrote:
> >To prevent reentering vcpu after IO completion it is not enough
> >to set env->stopped since it is checked only in main loop but control
> >will not get there until next non-IO exit since kvm_run() will reenter
> >vcpu to complete IO instruction. Solve this by sending self-signal to
> >request exit after IO instruction completion.
> >
>
> Applied, thanks.
>
> Does uq/master need such a patch?
>
The code is very different there. I looks to me broken too, but the fix
will be different.

--
Gleb.