qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC v4 11/58] memory: add ioeventfd support


From: Avi Kivity
Subject: Re: [Qemu-devel] [RFC v4 11/58] memory: add ioeventfd support
Date: Wed, 20 Jul 2011 20:31:34 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc15 Thunderbird/3.1.11

On 07/20/2011 08:29 PM, Blue Swirl wrote:
>  +
>  +static bool memory_region_ioeventfd_before(MemoryRegionIoeventfd a,
>  +                                           MemoryRegionIoeventfd b)
>  +{
>  +    if (a.addr.start<  b.addr.start) return true;
>  +    if (a.addr.start>  b.addr.start) return false;
>  +    if (a.addr.size<  b.addr.size) return true;
>  +    if (a.addr.size>  b.addr.size) return false;
>  +    if (a.match_data<  b.match_data) return true;
>  +    if (a.match_data>  b.match_data) return false;
>  +    if (a.match_data) {
>  +        if (a.data<  b.data) return true;
>  +        if (a.data>  b.data) return false;
>  +    }
>  +    if (a.fd<  b.fd) return true;
>  +    if (a.fd>  b.fd) return false;

NACK for CODING_STYLE.

Just checking if you're awake.

Will fix.

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




reply via email to

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