From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: VT-d support for device assignment Date: Fri, 22 Aug 2008 21:21:15 +0300 Message-ID: <48AF039B.7040805@qumranet.com> References: <1219389054-15332-1-git-send-email-amit.shah@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, muli@il.ibm.com, anthony@codemonkey.ws, jesse.barnes@intel.com, david.woodhouse@intel.com, mark.gross@intel.com, benami@il.ibm.com, weidong.han@intel.com To: Amit Shah Return-path: Received: from il.qumranet.com ([212.179.150.194]:47813 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751718AbYHVSVR (ORCPT ); Fri, 22 Aug 2008 14:21:17 -0400 In-Reply-To: <1219389054-15332-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. > > I've updated the 2nd patch to use VT-d only when requested by a parameter > on the command line, making it easier to support iommu with pvdma and > multiple iommu types. > > The command line currently should be invoked as: > > -pcidevice dev=00:13.0,vtd=on > You mean, iommu=on. Or rather dma=iommu dma=none (1:1 mapping, or dma-less devices, or I'm Feeling Lucky) dma=cooperative (paravirt) -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.