qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] PCI device assign problems!


From: Alex Williamson
Subject: Re: [Qemu-devel] PCI device assign problems!
Date: Mon, 04 Mar 2013 08:23:16 -0700

On Mon, 2013-03-04 at 18:13 +0800, GaoYi wrote:
> Hi,
> 
>    I am trying to run a PCI card as a pass-throughed device. The PCI driver
> works well on physical PC but failed on a full-virtualized PC. The KVM
> confiuration is OK as a pass-throughed network card works. I debuged the
> PCI driver and found that the some registers of this PCI card should be
> filled with the physical address of DMA regions. However, the PCI card can
> only get the virtualized physical address.
>    So for a PCI device, it cannot be passthroughed if it requires some
> physical address to be filled into some registers, right? If it is so, how
> to make it work as a passthroughed device?
>    Appreciated if someone can provide some help.

The IOMMU is responsible for transparently translating guest physical
addresses to host physical addresses.  It's therefore generally not
needed for the device to know any host physical addresses.  Can you
describe a bit more about the device and where it's trying to DMA?
Thanks,

Alex






reply via email to

[Prev in Thread] Current Thread [Next in Thread]