From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akio Takebe Subject: Re: [Q] Is qemu used when we use VTd? Date: Thu, 11 Sep 2008 20:48:02 +0900 Message-ID: <48C90572.6020206@jp.fujitsu.com> References: <48C8F6F2.20305@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jean Guyader Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Jean Guyader wrote: > On Thu, Sep 11, 2008 at 11:46 AM, Akio Takebe > wrote: >> Hi, >> >> If we assign a device to HVM guest, >> HVM guest can do directry DMA transfer. >> But how about accessing pci configuration register >> of the pass through device? Do we still access >> pci configuration register through qemu? >> > > Yes, you should have a look at the function pt_pci_read_config in > ioemu/hw/pass-through.c. > Thanks. HVM guest use PCI BIOS of rombios at access pci configuration register, and the accesses are trapped by qemu. qemu do their access instead, right? Can we directly use MMCONFIG for PCI-Express card pass-throughed by VT-d on HVM? Best Regards, Akio Takebe