[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1 of 6 V6] amd iommu: Add 2 hypercalls for libxc

>>> On 08.03.12 at 15:18, Wei Wang <wei.wang2@xxxxxxx> wrote:
> On 03/08/2012 02:35 PM, Jan Beulich wrote:
>>>>> On 08.03.12 at 14:21, Wei Wang<wei.wang2@xxxxxxx>  wrote:
>>> # HG changeset patch
>>> # User Wei Wang<wei.wang2@xxxxxxx>
>>> # 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?
> 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.

That sounds fine to me then.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.