kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Radim Krcmár" <rkrcmar@redhat.com>
To: "Wu, Feng" <feng.wu@intel.com>
Cc: "linux@vger.kernel.org" <linux@vger.kernel.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	Dan Carpenter <dan.carpenter@oracle.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH] KVM: x86: fix *NULL on invalid low-prio irq
Date: Fri, 12 Feb 2016 15:27:52 +0100	[thread overview]
Message-ID: <20160212142752.GA32014@potion.brq.redhat.com> (raw)
In-Reply-To: <E959C4978C3B6342920538CF579893F00C322B43@SHSMSX104.ccr.corp.intel.com>

2016-02-12 14:10+0000, Wu, Feng:
>> From: Radim Krčmář [mailto:rkrcmar@redhat.com]
>> Smatch noticed a NULL dereference in kvm_intr_is_single_vcpu_fast that
>> happens if VM already warned about invalid lowest-priority interrupt.
>> 
>> Create a function for common code while fixing it.
> 
> Thanks for the fix, Radim! I just saw the report by Dan and cooked a patch
> for it.

(Sorry for the duplication of effort, I will wait longer next time.)

>         Your patch looks good :)

Thanks.

  reply	other threads:[~2016-02-12 14:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11  4:50 KVM: x86: Add lowest-priority support for vt-d posted-interrupts Dan Carpenter
2016-02-12 14:00 ` [PATCH] KVM: x86: fix *NULL on invalid low-prio irq Radim Krčmář
2016-02-12 14:10   ` Wu, Feng
2016-02-12 14:27     ` Radim Krcmár [this message]
2016-02-12 14:32       ` Wu, Feng

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=20160212142752.GA32014@potion.brq.redhat.com \
    --to=rkrcmar@redhat.com \
    --cc=dan.carpenter@oracle.com \
    --cc=feng.wu@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux@vger.kernel.org \
    --cc=pbonzini@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;
as well as URLs for NNTP newsgroup(s).