From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akio Takebe Subject: Re: [Q] Is qemu used when we use VTd? Date: Fri, 12 Sep 2008 12:43:30 +0900 Message-ID: <48C9E562.4060200@jp.fujitsu.com> References: <48C8F6F2.20305@jp.fujitsu.com> <48C8FBB6.7070305@jp.fujitsu.com> <48C9DB26.3000609@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable 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: "Tian, Kevin" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Tian, Kevin wrote: >> From: Akio Takebe [mailto:takebe_akio@jp.fujitsu.com]=20 >> Sent: 2008=C4=EA9=D4=C212=C8=D5 11:00 >> >> Tian, Kevin wrote: >>>> From: Akio Takebe [mailto:takebe_akio@jp.fujitsu.com]=20 >>>> Sent: 2008=C4=EA9=D4=C211=C8=D5 19:07 >>>> >>>> Hi, >>>> >>>> Thank you. >>>> >>>> And mmio is traped by hypervisor, >>>> then hypervisor do mmio instead of HVM guest, Right? >>>> >>> Which mmio are you actually talking? If you mean MMIO >>> ranges in PCI BARs of passthrough device, they can be >>> directly accessed by HVM with p2m entry setup accord- >>> ingly, if MMIO range falls in 4k page granularity. >>> >> Thank you very much. I talked about MMIO ranges >> in PCI BARs of pass through device using VT-d. >> >> Does hypervisor trap only MMIO by APIC access? >> >=20 > Hypervisor traps all MMIOs which, if passthrough to HVM, > would generate unexpected result. In other word, you may > simply consider all MMIOs outside of passthrough devices, > including MMIOs of emulated devices, MMIOs of emulated > chispet, and MMIOs from emulated cpus, etc. are trapped > by hypervisor for virtualization. :-) >=20 Sorry, I asked only about pass through devices of HVM. Thank you for your infomation. Best Regards Akio Takebe