From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 2/2] KVM: Device Assignment with VT-d Date: Sun, 14 Sep 2008 03:49:14 +0300 Message-ID: <48CC5F8A.20008@qumranet.com> References: <1220974650-9444-1-git-send-email-amit.shah@qumranet.com> <1220974650-9444-2-git-send-email-amit.shah@qumranet.com> <1220974650-9444-3-git-send-email-amit.shah@qumranet.com> <0122C7C995D32147B66BF4F440D3016301B430E3@pdsmsx415.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Amit Shah , kvm@vger.kernel.org, muli@il.ibm.com, anthony@codemonkey.ws, jbarnes@virtuousgeek.org, "Woodhouse, David" , "Gross, Mark" , benami@il.ibm.com, "Kay, Allen M" To: "Han, Weidong" Return-path: Received: from il.qumranet.com ([212.179.150.194]:18865 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752679AbYINAt2 (ORCPT ); Sat, 13 Sep 2008 20:49:28 -0400 In-Reply-To: <0122C7C995D32147B66BF4F440D3016301B430E3@pdsmsx415.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Han, Weidong wrote: > This patch only can work on x86, it breaks build on other architectures. > It is caused by kvm_irq_ack_notifier and kvm_assigned_dev_kernel are > defined under x86, while they are always used in > include/linux/kvm_host.h whether CONFIG_DMAR is set or not. I move these > two definitions to include/linux/kvm_host.h, and attached the updated > patch. > > Thanks. I replaced the old patch with your new version. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.