From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCSOi-0001n8-8H for qemu-devel@nongnu.org; Mon, 04 Mar 2013 05:13:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCSOd-0006Lg-HN for qemu-devel@nongnu.org; Mon, 04 Mar 2013 05:13:32 -0500 Received: from mail-lb0-f177.google.com ([209.85.217.177]:45842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCSOd-0006L3-8z for qemu-devel@nongnu.org; Mon, 04 Mar 2013 05:13:27 -0500 Received: by mail-lb0-f177.google.com with SMTP id go11so3717393lbb.8 for ; Mon, 04 Mar 2013 02:13:25 -0800 (PST) MIME-Version: 1.0 Date: Mon, 4 Mar 2013 18:13:25 +0800 Message-ID: From: GaoYi Content-Type: multipart/alternative; boundary=f46d040124a78cc7ef04d7169bdf Subject: [Qemu-devel] PCI device assign problems! List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --f46d040124a78cc7ef04d7169bdf Content-Type: text/plain; charset=ISO-8859-1 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. Yi --f46d040124a78cc7ef04d7169bdf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

=A0=A0 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 de= buged the PCI driver and found that the some registers of this PCI card sho= uld be filled with the physical address of DMA regions. However, the PCI ca= rd can only get the virtualized physical address.
=A0=A0 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?
=A0=A0 Appreciated if someone= can provide some help.

=A0Yi
--f46d040124a78cc7ef04d7169bdf--