From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: VT-d support for device assignment Date: Tue, 26 Aug 2008 12:10:57 +0300 Message-ID: <48B3C8A1.6070801@qumranet.com> References: <1219740935-19701-1-git-send-email-amit.shah@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, muli@il.ibm.com, anthony@codemonkey.ws, jbarnes@virtuousgeek.org, david.woodhouse@intel.com, mark.gross@intel.com, benami@il.ibm.com, weidong.han@intel.com, allen.m.kay@intel.com To: Amit Shah Return-path: Received: from il.qumranet.com ([212.179.150.194]:15983 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751173AbYHZJK6 (ORCPT ); Tue, 26 Aug 2008 05:10:58 -0400 In-Reply-To: <1219740935-19701-1-git-send-email-amit.shah@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: Amit Shah wrote: > The following two patches contain VT-d support for device assignment for KVM guests. > > The first patch contains the changes that are required to the generic VT-d code. > > The second patch contains the changes to KVM. > > Since the last send, I've updated the 2nd patch to expose KVM_CAP_IOMMU and check for the existence of an IOMMU before using one. I've also preserved the 'From' field for both the patches so that the original authors are credited for the patches. > > The command line currently should be invoked with the parameter: > > -pcidevice dev=00:13.0,dma=iommu > Why not default to iommu if one is available? btw, -usbdevice prefixes host devices with host:, no? maybe adopt the convention for -pcidevice? -- error compiling committee.c: too many arguments to function