Re: [Qemu-devel] [PATCH] VirtIO Support for Memory Regions

2010-02-24 Thread Anthony Liguori
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 happy I feel pretty strongly that we shouldn't add shared memory to vir

Re: [Qemu-devel] [PATCH] VirtIO Support for Memory Regions

2010-02-24 Thread Anthony Liguori
On 02/24/2010 12:20 AM, Cam Macdonell wrote: On Tue, Feb 23, 2010 at 2:05 PM, Anthony Liguori wrote: Hi Cam, On 02/23/2010 02:52 PM, Cam Macdonell wrote: Support for passing memory regions via VirtIO to remove need for PCI support in the guest. Adds new vectors to VirtIO config spa

Re: [Qemu-devel] [PATCH] VirtIO Support for Memory Regions

2010-02-24 Thread Anthony Liguori
On 02/24/2010 05:14 AM, Avi Kivity wrote: On 02/24/2010 08:20 AM, Cam Macdonell wrote: Virtio is really a DMA engine. One of the nice things about it's design is that you can do things like transparent bounce buffering if needed. Adding a mechanism like this breaks this abstract and turns v

Re: [Qemu-devel] [PATCH] VirtIO Support for Memory Regions

2010-02-24 Thread Avi Kivity
On 02/24/2010 08:20 AM, Cam Macdonell wrote: Virtio is really a DMA engine. One of the nice things about it's design is that you can do things like transparent bounce buffering if needed. Adding a mechanism like this breaks this abstract and turns virtio into something that's more than I thin

Re: [Qemu-devel] [PATCH] VirtIO Support for Memory Regions

2010-02-23 Thread Cam Macdonell
On Tue, Feb 23, 2010 at 2:05 PM, Anthony Liguori wrote: > Hi Cam, > > On 02/23/2010 02:52 PM, Cam Macdonell wrote: >> >> Support for passing memory regions via VirtIO to remove need for PCI >> support in the guest. >> >> Adds new vectors to VirtIO config space to pass memory regions similar >> to

Re: [Qemu-devel] [PATCH] VirtIO Support for Memory Regions

2010-02-23 Thread Anthony Liguori
On 02/23/2010 03:05 PM, Anthony Liguori wrote: Hi Cam, On 02/23/2010 02:52 PM, Cam Macdonell wrote: Support for passing memory regions via VirtIO to remove need for PCI support in the guest. Adds new vectors to VirtIO config space to pass memory regions similar to how virtqueues are passed. K

Re: [Qemu-devel] [PATCH] VirtIO Support for Memory Regions

2010-02-23 Thread Anthony Liguori
Hi Cam, On 02/23/2010 02:52 PM, Cam Macdonell wrote: Support for passing memory regions via VirtIO to remove need for PCI support in the guest. Adds new vectors to VirtIO config space to pass memory regions similar to how virtqueues are passed. Kernel patch is forthcoming that add device_ops t

[Qemu-devel] [PATCH] VirtIO Support for Memory Regions

2010-02-23 Thread Cam Macdonell
Support for passing memory regions via VirtIO to remove need for PCI support in the guest. Adds new vectors to VirtIO config space to pass memory regions similar to how virtqueues are passed. Kernel patch is forthcoming that add device_ops to access the memory regions. I have used this mechanism