Re: [KVM PATCH v9 2/2] KVM: add iosignalfd support

Avi Kivity
2009-07-07T12:54:31Z

On 07/07/2009 03:51 PM, Michael S. Tsirkin wrote:
>
>>> Seriously, why add artificial limitations?
>>> IMO, addr=0,len=1 and addr=0,len=2 should not conflict.
>>>
>>>
>>>
>> They should not conflict, but a two byte write need not hit a one byte
>> registration.
>>
>
> Yes. That's exactly what I'm saying. I think it should be possible to
> create 2 fds:
>
> addr = 0
> len = 1
> addr = 0
> len = 2
> and at most one will ever trigger.
>
> But current code will not let you create the second one.
>

I agree then. Good catch.

--
error compiling committee.c: too many arguments to function