From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1/2] kvm: qemu: add warning message when assign device without IOMMU Date: Thu, 26 Mar 2009 14:00:21 +0200 Message-ID: <49CB6E55.4070407@redhat.com> References: <715D42877B251141A38726ABF5CABF2C01A11B66ED@pdsmsx503.ccr.corp.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: "Han, Weidong" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:42115 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752765AbZCZMAZ (ORCPT ); Thu, 26 Mar 2009 08:00:25 -0400 In-Reply-To: <715D42877B251141A38726ABF5CABF2C01A11B66ED@pdsmsx503.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Han, Weidong wrote: > When user wants to assign device with IOMMU, but IOMMU is not > enabled, add warning messages to prompt user this situation, and > return error. Or device will be assigned but it cannot work. > If the device has does not do DMA (say a serial port) then it can be assigned. Can we check the device for dma capability and allow this special case? -- error compiling committee.c: too many arguments to function