From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] [RESEND] VT-d: Support multiple device assignment to one guest Date: Tue, 07 Oct 2008 15:59:08 +0200 Message-ID: <48EB6B2C.1070708@redhat.com> References: <0122C7C995D32147B66BF4F440D3016301CF9679@pdsmsx415.ccr.corp.intel.com> <42DFA526FC41B1429CE7279EF83C6BDC01ABC8DD@pdsmsx415.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Han, Weidong" , kvm@vger.kernel.org, Amit Shah , "Kay, Allen M" , "Yang, Sheng" , benami@il.ibm.com, muli@il.ibm.com To: "Zhang, Xiantao" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:55856 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751671AbYJGODO (ORCPT ); Tue, 7 Oct 2008 10:03:14 -0400 In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDC01ABC8DD@pdsmsx415.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Zhang, Xiantao wrote: > Han, Weidong wrote: > >> #ifdef CONFIG_DMAR >> int intel_iommu_found(void); >> diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h >> index 73b7c52..7a3e1b6 100644 >> --- a/include/linux/kvm_host.h >> +++ b/include/linux/kvm_host.h >> @@ -293,6 +293,11 @@ struct kvm_irq_ack_notifier { >> void (*irq_acked)(struct kvm_irq_ack_notifier *kian); >> }; >> >> +struct kvm_vtd_domain { >> + int dev_count; /* number of assigned devices */ >> > > Atomic operations are needed for this field? > Probably not, since it is protected by the kvm lock. -- error compiling committee.c: too many arguments to function