Re: [PATCH v5 2/3] virtio_pci: Use the DMA API for virtqueues when possible

2014-09-17 Thread Ira W. Snyder
On Tue, Sep 16, 2014 at 10:22:27PM -0700, Andy Lutomirski wrote: On non-PPC systems, virtio_pci should use the DMA API. This fixes virtio_pci on Xen. On PPC, using the DMA API would break things, so we need to preserve the old behavior. The big comment in this patch explains the

Re: [RFC]vhost/vhost-net backend for PCI cards

2013-02-27 Thread Ira W. Snyder
On Wed, Feb 27, 2013 at 03:50:54AM -0800, Nikhil Rao wrote: We are implementing a driver for a PCIe card that runs Linux. This card needs virtual network/disk/console devices, so we have reused the virtio devices on on the card and provided a host backend that interacts with the virtio

Re: [RFC]vhost/vhost-net backend for PCI cards

2013-02-27 Thread Ira W. Snyder
On Wed, Feb 27, 2013 at 04:58:20AM -0800, Nikhil Rao wrote: On Wed, 2013-02-27 at 11:17 -0800, Ira W. Snyder wrote: Hi Nikhil, I don't have any code to offer, but may be able to provide some suggestions. I work on a system which has a single (x86) host computer, and many PowerPC data

Re: [PATCH 00/02] virtio: Virtio platform driver

2011-03-16 Thread Ira W. Snyder
On Wed, Mar 16, 2011 at 02:17:15PM +0900, Magnus Damm wrote: Hi Rusty, On Wed, Mar 16, 2011 at 12:46 PM, Rusty Russell ru...@rustcorp.com.au wrote: On Thu, 10 Mar 2011 16:05:41 +0900, Magnus Damm magnus.d...@gmail.com wrote: virtio: Virtio platform driver [PATCH 01/02] virtio: Break

Re: virtio over PCI

2010-03-03 Thread Ira W. Snyder
On Wed, Mar 03, 2010 at 05:09:48PM +1100, Michael Ellerman wrote: Hi guys, I was looking around at virtio over PCI stuff and noticed you had started some work on a driver. The last I can find via google is v2 from mid last year, is that as far as it got? http://lkml.org/lkml/2009/2/23/353

Re: [PATCHv5 3/3] vhost_net: a kernel-level virtio server

2009-09-25 Thread Ira W. Snyder
On Thu, Aug 27, 2009 at 07:07:50PM +0300, Michael S. Tsirkin wrote: What it is: vhost net is a character device that can be used to reduce the number of system calls involved in virtio networking. Existing virtio net code is used in the guest without modification. There's similarity with

Re: [PATCHv5 3/3] vhost_net: a kernel-level virtio server

2009-09-24 Thread Ira W. Snyder
On Thu, Sep 24, 2009 at 10:18:28AM +0300, Avi Kivity wrote: On 09/24/2009 12:15 AM, Gregory Haskins wrote: There are various aspects about designing high-performance virtual devices such as providing the shortest paths possible between the physical resources and the consumers.

Re: [PATCHv5 3/3] vhost_net: a kernel-level virtio server

2009-09-22 Thread Ira W. Snyder
On Tue, Sep 22, 2009 at 12:43:36PM +0300, Avi Kivity wrote: On 09/22/2009 12:43 AM, Ira W. Snyder wrote: Sure, virtio-ira and he is on his own to make a bus-model under that, or virtio-vbus + vbus-ira-connector to use the vbus framework. Either model can work, I agree. Yes

Re: [PATCHv5 3/3] vhost_net: a kernel-level virtio server

2009-09-21 Thread Ira W. Snyder
On Wed, Sep 16, 2009 at 11:11:57PM -0400, Gregory Haskins wrote: Avi Kivity wrote: On 09/16/2009 10:22 PM, Gregory Haskins wrote: Avi Kivity wrote: On 09/16/2009 05:10 PM, Gregory Haskins wrote: If kvm can do it, others can. The problem is that you seem to

Re: [PATCHv5 3/3] vhost_net: a kernel-level virtio server

2009-09-03 Thread Ira W. Snyder
On Thu, Aug 27, 2009 at 07:07:50PM +0300, Michael S. Tsirkin wrote: What it is: vhost net is a character device that can be used to reduce the number of system calls involved in virtio networking. Existing virtio net code is used in the guest without modification. There's similarity with

Re: [PATCH 2/2] vhost_net: a kernel-level virtio server

2009-08-13 Thread Ira W. Snyder
On Wed, Aug 12, 2009 at 08:31:04PM +0300, Michael S. Tsirkin wrote: On Wed, Aug 12, 2009 at 10:19:22AM -0700, Ira W. Snyder wrote: [ snip out code ] We discussed this before, and I still think this could be directly derived from struct virtqueue, in the same way that vring_virtqueue

Re: [PATCH 2/2] vhost_net: a kernel-level virtio server

2009-08-13 Thread Ira W. Snyder
On Wed, Aug 12, 2009 at 07:03:22PM +0200, Arnd Bergmann wrote: On Monday 10 August 2009, Michael S. Tsirkin wrote: +struct workqueue_struct *vhost_workqueue; [nitpicking] This could be static. +/* The virtqueue structure describes a queue attached to a device. */ +struct