On 17/07/2015 09:27, Pavel Fedin wrote:
>> > + } else if (!msi->flags)
>> > + return -EINVAL;
> Did you mean "if (msg->flags)" here (inverted condition)?
Indeed, and also you need { } around the return for the QEMU coding
standard.
Paolo
>> > +
>> > + /* historically the route.type was not set */
>> > +