Re: [patch 2/5] KVM: reintroduce guest mode bit and unify remote request code

Avi Kivity
2009-08-28T07:22:23Z

On 08/28/2009 10:06 AM, Avi Kivity wrote:
>
> Why do we need both, btw? Set your vcpu->requests bit, if guest_mode
> is true, clear it and IPI. So guest_mode=false means, we might be in
> guest mode but if so we're due for a kick anyway.

No, this introduces a race.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.