From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muli Ben-Yehuda Subject: Re: VT-d support for device assignment Date: Fri, 22 Aug 2008 19:08:54 +0300 Message-ID: <20080822160854.GF6885@il.ibm.com> References: <1219389054-15332-1-git-send-email-amit.shah@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Amit Shah , kvm@vger.kernel.org To: Byron Stanoszek Return-path: Received: from mtagate4.de.ibm.com ([195.212.29.153]:49174 "EHLO mtagate4.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752858AbYHVQJM (ORCPT ); Fri, 22 Aug 2008 12:09:12 -0400 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.8/8.13.8) with ESMTP id m7MG93NJ074212 for ; Fri, 22 Aug 2008 16:09:03 GMT Received: from d12av03.megacenter.de.ibm.com (d12av03.megacenter.de.ibm.com [9.149.165.213]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m7MG92MV4259918 for ; Fri, 22 Aug 2008 18:09:02 +0200 Received: from d12av03.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av03.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m7MG8xYk009965 for ; Fri, 22 Aug 2008 18:08:59 +0200 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Aug 22, 2008 at 09:54:13AM -0400, Byron Stanoszek wrote: > Is it possible to log any physical PCI accesses from the guest? > This could be handy for reverse-engineering device drivers, among > other things. With PCI passthrough It is possible in theory to log mmio's and pio's executed by the guest, as well as interrupts delivered to the guest, although it will have a performance impact. It is not possible to log DMAs in a simple manner, but you could hook up a PCI analyzer to get the missing bits. Cheers, Muli -- Workshop on I/O Virtualization (WIOV '08) Co-located with OSDI '08, Dec 2008, San Diego, CA http://www.usenix.org/wiov08