On 03/25/2010 06:40 PM, Michael S. Tsirkin wrote:
On Thu, Mar 25, 2010 at 06:32:15PM +0200, Avi Kivity wrote:
On 03/25/2010 06:23 PM, Anthony Liguori wrote:
There has been previous discussion of virtio, however while virtio is
good for exporting guest memory, it's not ideal for importing memory
into a guest.
virtio is a DMA-based API which means that it doesn't assume cache
coherent shared memory. The PCI transport takes advantage of cache
coherent shared memory but it's not strictly required.
Aren't we violating this by not using dma_alloc_coherent() for the queues?
I don't see what changing this would buys us though, unless
a non-cache coherent architecture implements kvm.
We're preventing people from implementing virtio devices in hardware,
not that anyone's doing that.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html