From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muli Ben-Yehuda Subject: Re: [PATCH] KVM: PCIPT: VT-d support Date: Thu, 10 Jul 2008 17:41:24 +0300 Message-ID: <20080710144124.GD7273@il.ibm.com> References: <1215681282-3449-1-git-send-email-benami@il.ibm.com> <200807101730.26586.sheng.yang@intel.com> <1215683513.31546.175.camel@cluwyn.haifa.ibm.com> <200807101807.28719.sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ben-Ami Yassour1 , kvm@vger.kernel.org, amit.shah@qumranet.com, weidong.han@intel.com, anthony@codemonkey.ws, "Kay, Allen M" To: "Yang, Sheng" Return-path: Received: from mtagate5.uk.ibm.com ([195.212.29.138]:57969 "EHLO mtagate5.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751469AbYGJOmI (ORCPT ); Thu, 10 Jul 2008 10:42:08 -0400 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate5.uk.ibm.com (8.13.8/8.13.8) with ESMTP id m6AEftWQ591874 for ; Thu, 10 Jul 2008 14:41:55 GMT Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m6AEftwu110720 for ; Thu, 10 Jul 2008 15:41:55 +0100 Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m6AEfsRJ015266 for ; Thu, 10 Jul 2008 15:41:55 +0100 Content-Disposition: inline In-Reply-To: <200807101807.28719.sheng.yang@intel.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Jul 10, 2008 at 06:07:27PM +0800, Yang, Sheng wrote: > I think it's may be unnecessary to map pages when device > assigned. The table can be set up along with set_memory_region(), it > covered all memory slots already, or I miss something here? VT-d is only initialized after the slots are originally created, so when VT-d is initialized is map all of the existing slots separately, and then for each new slot that may be added we'll catch it via set_memory_region(). Cheers, Muli