[PATCH V2 WIP 2/2] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-03-12 Thread Asias He
From: Paolo Bonzini pbonz...@redhat.com The WWPN specified in configfs is passed to -device vhost-scsi-pci. The tgpt field of the SET_ENDPOINT ioctl is obsolete now, so it is not available from the QEMU command-line. Instead, I hardcode it to zero. Changes in V2: - Add backend guest masking

Re: [PATCH V2 WIP 2/2] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-03-12 Thread Stefan Hajnoczi
On Tue, Mar 12, 2013 at 02:29:42PM +0800, Asias He wrote: diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 39c1966..4a97ca1 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c These changes break the build for non-Linux hosts. Please introduce a CONFIG_VHOST_SCSI and #ifdef appropriate

Re: [PATCH V2 WIP 2/2] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-03-12 Thread Asias He
On Tue, Mar 12, 2013 at 09:20:24AM +0100, Stefan Hajnoczi wrote: On Tue, Mar 12, 2013 at 02:29:42PM +0800, Asias He wrote: diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 39c1966..4a97ca1 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c These changes break the build for