[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] pci-testdev: enhance to support new testcases
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH] pci-testdev: enhance to support new testcases |
Date: |
Wed, 28 Sep 2016 11:04:10 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Tue, Sep 27, 2016 at 06:13:29AM -0400, Paolo Bonzini wrote:
>
> > 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.
It's interesting to know that there is such an edu device. So it not
only suits for education, but tailored for IOMMU unit test as well. :)
-- peterx