Re: [Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-02-05 Thread Michael S. Tsirkin
On Tue, Feb 05, 2013 at 05:23:03PM +0800, Asias He wrote: > On 02/03/2013 08:38 PM, Michael S. Tsirkin wrote: > > On Fri, Feb 01, 2013 at 11:46:28AM +0800, Asias He wrote: > >> On 01/31/2013 07:12 PM, Michael S. Tsirkin wrote: > >>> On Wed, Jan 30, 2013 at 05:41:22PM +0100, Paolo Bonzini wrote: > >

Re: [Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-02-05 Thread Asias He
On 02/03/2013 08:38 PM, Michael S. Tsirkin wrote: > On Fri, Feb 01, 2013 at 11:46:28AM +0800, Asias He wrote: >> On 01/31/2013 07:12 PM, Michael S. Tsirkin wrote: >>> On Wed, Jan 30, 2013 at 05:41:22PM +0100, Paolo Bonzini wrote: Ok, so here is my attempt at a vhost-scsi device. I'm creating

Re: [Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-02-04 Thread Nicholas A. Bellinger
Hi Paolo, On Thu, 2013-01-31 at 00:12 -0800, Nicholas A. Bellinger wrote: > Hi Paolo, > > On Wed, 2013-01-30 at 17:41 +0100, Paolo Bonzini wrote: > > As expected, using a separate device finds a snag: vhost-scsi is passing > > force=false to vhost_dev_init, and the BIOS does not use MSI-X so i

Re: [Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-02-03 Thread Michael S. Tsirkin
On Fri, Feb 01, 2013 at 11:46:28AM +0800, Asias He wrote: > On 01/31/2013 07:12 PM, Michael S. Tsirkin wrote: > > On Wed, Jan 30, 2013 at 05:41:22PM +0100, Paolo Bonzini wrote: > >> Ok, so here is my attempt at a vhost-scsi device. I'm creating an > >> entirely separate device, with the common par

Re: [Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-01-31 Thread Asias He
On 01/31/2013 07:12 PM, Michael S. Tsirkin wrote: > On Wed, Jan 30, 2013 at 05:41:22PM +0100, Paolo Bonzini wrote: >> Ok, so here is my attempt at a vhost-scsi device. I'm creating an >> entirely separate device, with the common parts of virtio-scsi and >> vhost-scsi (actually little more than the

Re: [Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-01-31 Thread Nicholas A. Bellinger
On Thu, 2013-01-31 at 13:12 +0200, Michael S. Tsirkin wrote: > On Wed, Jan 30, 2013 at 05:41:22PM +0100, Paolo Bonzini wrote: > > Another small bug I found is an ordering problem between > > VHOST_SET_VRING_KICK and VHOST_SCSI_SET_ENDPOINT. Starting the vq > > causes a "vhost_scsi_handle_vq end

Re: [Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-01-31 Thread Michael S. Tsirkin
On Wed, Jan 30, 2013 at 05:41:22PM +0100, Paolo Bonzini wrote: > Ok, so here is my attempt at a vhost-scsi device. I'm creating an > entirely separate device, with the common parts of virtio-scsi and > vhost-scsi (actually little more than the initialization) grouped into > a VirtIOSCSICommon type

Re: [Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-01-31 Thread Nicholas A. Bellinger
Hi Paolo, On Wed, 2013-01-30 at 17:41 +0100, Paolo Bonzini wrote: > Ok, so here is my attempt at a vhost-scsi device. I'm creating an > entirely separate device, with the common parts of virtio-scsi and > vhost-scsi (actually little more than the initialization) grouped into > a VirtIOSCSICommon

Re: [Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-01-30 Thread Paolo Bonzini
Il 30/01/2013 21:02, Michael S. Tsirkin ha scritto: > On Wed, Jan 30, 2013 at 05:41:22PM +0100, Paolo Bonzini wrote: >> Ok, so here is my attempt at a vhost-scsi device. I'm creating an >> entirely separate device, with the common parts of virtio-scsi and >> vhost-scsi (actually little more than t

Re: [Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-01-30 Thread Michael S. Tsirkin
On Wed, Jan 30, 2013 at 05:41:22PM +0100, Paolo Bonzini wrote: > Ok, so here is my attempt at a vhost-scsi device. I'm creating an > entirely separate device, with the common parts of virtio-scsi and > vhost-scsi (actually little more than the initialization) grouped into > a VirtIOSCSICommon type

[Qemu-devel] [PATCH WIP 0/4] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-01-30 Thread Paolo Bonzini
Ok, so here is my attempt at a vhost-scsi device. I'm creating an entirely separate device, with the common parts of virtio-scsi and vhost-scsi (actually little more than the initialization) grouped into a VirtIOSCSICommon type. The device is used simply like "-device vhost-scsi-pci,wwpn=WWPN", w