From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bopOJ-0003bi-8Z for qemu-devel@nongnu.org; Tue, 27 Sep 2016 06:13:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bopOE-00045Z-Sb for qemu-devel@nongnu.org; Tue, 27 Sep 2016 06:13:34 -0400 Received: from mx5-phx2.redhat.com ([209.132.183.37]:59535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bopOE-000456-In for qemu-devel@nongnu.org; Tue, 27 Sep 2016 06:13:30 -0400 Date: Tue, 27 Sep 2016 06:13:29 -0400 (EDT) From: Paolo Bonzini Message-ID: <1274680733.3041530.1474971209712.JavaMail.zimbra@redhat.com> In-Reply-To: <20160927083819.GD10363@pxdev.xzpeter.org> References: <1474524908-18716-1-git-send-email-peterx@redhat.com> <20160922182305.hulm7yfx24gor5fg@redhat.com> <20160927063744.GC10363@pxdev.xzpeter.org> <20160927083819.GD10363@pxdev.xzpeter.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] pci-testdev: enhance to support new testcases List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Xu Cc: "Michael S. Tsirkin" , qemu-devel@nongnu.org, marcel@redhat.com > Take my example: IOMMU unit test would want the guest to send DMA/IRQ > request from the device's perspective. In that case, we would like to > "tell" the pci-testdev about where to write the DMA, and what data to > write specifically, or which IRQ to trigger. That's something we > cannot do right now. And I don't want to just add a new test case for > that specifically. I think we can make it more common. Do we need to use the pci-testdev? There's also for example the edu device, or we could just use virtio-serial with a null backend. Paolo