From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 2/2] KVM: Change to use new APIs for KVM VT-d Date: Wed, 26 Nov 2008 12:55:54 +0200 Message-ID: <492D2B3A.8090704@redhat.com> References: <715D42877B251141A38726ABF5CABF2C018BEB5D9B@pdsmsx503.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "Woodhouse, David" , Jesse Barnes , "Kay, Allen M" , "Yu, Fenghua" , "kvm@vger.kernel.org" , "iommu@lists.linux-foundation.org" To: "Han, Weidong" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:44711 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751836AbYKZK4E (ORCPT ); Wed, 26 Nov 2008 05:56:04 -0500 In-Reply-To: <715D42877B251141A38726ABF5CABF2C018BEB5D9B@pdsmsx503.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Han, Weidong wrote: > This patch changes to use new APIs for KVM VT-d, and add device deassignment for hotplug. > > index 44fd7fa..558bc32 100644 > --- a/include/linux/kvm.h > +++ b/include/linux/kvm.h > @@ -425,6 +425,8 @@ struct kvm_trace_rec { > struct kvm_assigned_pci_dev) > #define KVM_ASSIGN_IRQ _IOR(KVMIO, 0x70, \ > struct kvm_assigned_irq) > +#define KVM_DEASSIGN_PCI_DEVICE _IOR(KVMIO, 0x71, \ > + struct kvm_assigned_pci_dev) > Need to advertise using KVM_CAP_DEVICE_DEASSIGNMENT. -- error compiling committee.c: too many arguments to function