|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH] VirtIO Support for Memory Regions |
Date: | Wed, 24 Feb 2010 09:41:17 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 02/24/2010 09:13 AM, Anthony Liguori wrote:
to work on that if we can agree on what the underlying device looks like whether it should be VirtIO or just PCI.Agreed, you had suggested uio_pci for my PCI driver and I'd be happyI feel pretty strongly that we shouldn't add shared memory to virtio. I'm pretty sure Christian would too because it eliminates the possibility of implementing a copy-based transport for virtio (virtio-over-ethernet).
Actually, ignore my crazy justification based on virtio-over-ethernet :-)Certain hypervisors (like Xen and PHYP) have very limited/non-existent support for shared memory. In the case of Xen, there's a very small pool that can be used for DMA buffers. In the case of PHYP, you have hardware accelerated copying for all I/O.
Adding shared memory to virtio means that virtio could not be supported (or at least, all virtio devices) on these hypervisors.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |