kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Sheng Yang <sheng@linux.intel.com>
Cc: kvm@vger.kernel.org, "Han, Weidong" <weidong.han@intel.com>,
	"Kay, Allen M" <allen.m.kay@intel.com>
Subject: Re: [PATCH 4/4] KVM: x86: Enable MSI for assigned device
Date: Tue, 07 Oct 2008 15:42:41 +0200	[thread overview]
Message-ID: <48EB6751.9080901@redhat.com> (raw)
In-Reply-To: <200810071359.58975.sheng@linux.intel.com>

Sheng Yang wrote:
> Seems we needn't tell userspace if MSI can be enabled. It's determined mostly 
> by the device, and pci_enable_msi() checked that. 
>
> So I think QEmu can expose MSI capability if the device got it. If it's fail 
> to be enabled, just fall back to IRQ and return error to QEmu is enough, of 
> course, QEmu should set MSI enable bit after kernel space done.
>   

Do we need to add the additional condition, "and if the host kernel 
supports it"?

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


  reply	other threads:[~2008-10-07 13:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26  5:17 [PATCH 4/4] KVM: x86: Enable MSI for assigned device Sheng Yang
2008-10-05 10:27 ` Avi Kivity
2008-10-06  3:36   ` Yang, Sheng
2008-10-07  5:59     ` Sheng Yang
2008-10-07 13:42       ` Avi Kivity [this message]
2008-10-08  2:55         ` Sheng Yang
  -- strict thread matches above, loose matches on Subject: below --
2008-10-07  6:09 Sheng Yang

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=48EB6751.9080901@redhat.com \
    --to=avi@redhat.com \
    --cc=allen.m.kay@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=sheng@linux.intel.com \
    --cc=weidong.han@intel.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).