public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCHv3] qemu-kvm: enable msi with irqchip
Date: Tue, 07 Jul 2009 14:27:00 +0300	[thread overview]
Message-ID: <4A533104.3040004@redhat.com> (raw)
In-Reply-To: <20090705185259.GA3275@redhat.com>

On 07/05/2009 09:52 PM, Michael S. Tsirkin wrote:
>
>>> +		switch (e->type)
>>> +		{
>>> +		case KVM_IRQ_ROUTING_IRQCHIP: {
>>> +			if (e->u.irqchip.irqchip ==
>>> +			    entry->u.irqchip.irqchip
>>> +			&&   e->u.irqchip.pin ==
>>> +			    entry->u.irqchip.pin) {
>>> +			    found = 1;
>>> +                        }
>>>
>>>        
>> this
>> is
>> not
>> readable
>>      
>
> OK, but other functions in this file look the same.
>    

I don't know how they sneaked them past me.  Ignore the others.

>> You use perror() on functions that return -errno; please fix.
>>      
>
> Should I send output to stderr or to console, btw?
>    

stderr for now.  When we have the new monitor protocol we can define a 
notification for logging random errors.

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


      reply	other threads:[~2009-07-07 11:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-05 17:35 [PATCHv3] qemu-kvm: enable msi with irqchip Michael S. Tsirkin
2009-07-05 18:03 ` Avi Kivity
2009-07-05 18:26   ` Michael S. Tsirkin
2009-07-07 11:21     ` Avi Kivity
2009-07-05 18:52   ` Michael S. Tsirkin
2009-07-07 11:27     ` Avi Kivity [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A533104.3040004@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox