From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Wang Subject: Re: [PATCH 1 of 6 V6] amd iommu: Add 2 hypercalls for libxc Date: Thu, 8 Mar 2012 15:18:40 +0100 Message-ID: <4F58BFC0.6070506@amd.com> References: <810296995a893c1bec89.1331212908@gran.amd.com> <4F58C3BD020000780007729C@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F58C3BD020000780007729C@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: keir@xen.org, xen-devel@lists.xensource.com, Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org On 03/08/2012 02:35 PM, Jan Beulich wrote: >>>> On 08.03.12 at 14:21, Wei Wang wrote: >> # HG changeset patch >> # User Wei Wang >> # Date 1331210211 -3600 >> # Node ID 810296995a893c1bec898a366f08520fbae755fb >> # Parent f611200469159a960c3f0b975aa0f91ec768e29f >> amd iommu: Add 2 hypercalls for libxc >> >> iommu_set_msi: used by qemu to inform hypervisor iommu vector number in >> guest space. Hypervisor needs this vector to inject msi into guest after >> writing PPR logs back to guest. >> >> iommu_bind_bdf: used by xl to bind virtual bdf to machine bdf for passthru >> devices. IOMMU emulator receives iommu cmd from guest OS and then forwards >> them to host iommu. Virtual device ids in guest iommu commands must be >> converted into physical ids before sending them to real hardware. > > So patch 5 uses the latter one, but the former one is still dead code? > > Jan > > Hi Jan, The former one will be used by qemu. But Ian said we would not add new features into qemu traditional,,So I am waiting for pci passthru patches for upstream qemu being accepted and then I coudl send out my qemu patch. I also had a prove-of-concept patch that was based on the old qemu. I could rebase and resend it if necessary. http://lists.xen.org/archives/html/xen-devel/2011-12/msg01269.html thanks, Wei