From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 0/4] Enable MSI support for KVM VT-d Date: Sun, 19 Oct 2008 15:16:06 +0200 Message-ID: <48FB3316.7050109@redhat.com> References: <> <1222406255-27727-1-git-send-email-sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, "" , "" To: Sheng Yang Return-path: Received: from mx2.redhat.com ([66.187.237.31]:35872 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751272AbYJSNQL (ORCPT ); Sun, 19 Oct 2008 09:16:11 -0400 In-Reply-To: <1222406255-27727-1-git-send-email-sheng.yang@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Sheng Yang wrote: > Hi, Avi > > This patchset enable MSI support for KVM VT-d. > > And here are only kernel space ones. The third patch would go to also goto x86 > upstream. > > The userspace code would looks like this: > > assigned_irq_data.guest_msi_addr = *(uint32_t *)(d->msi_cap + 4); > assigned_irq_data.guest_msi_data = *(uint16_t *)(d->msi_cap + 8); > assigned_irq_data.flags |= KVM_DEV_IRQ_ASSIGN_ENABLE_MSI; > r = kvm_assign_irq(kvm_context, &assigned_irq_data); > > I've test the patchset with some userspace hack, it works well. > > Can you resend this patch with all the updates, as well as the userspace changes? -- error compiling committee.c: too many arguments to function