Re: [Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-11-08 Thread ronnie sahlberg
For better support for older versions of libiscsi I think it would be good to convert all the iscsi_unmap_task/iscsi_writesame*_task/iscsi_*_task functions with calls to the much more genric iscsi_scsi_command_sync(). iscsi_scsi_command_sync() and iscsi_scsi_command_async() have been available

Re: [Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-11-08 Thread ronnie sahlberg
It would mean that any version of libiscsi from 1.1 or later would work and there would not be the issues such as UNMAP is only available from 1.2 and forward, WRITESAME* is only availabel from 1.3. SANITIZE only being available from 1.9 ... On Fri, Nov 8, 2013 at 9:52 AM, ronnie sahlberg

Re: [Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-11-08 Thread Peter Lieven
Am 08.11.2013 um 18:52 schrieb ronnie sahlberg ronniesahlb...@gmail.com: For better support for older versions of libiscsi I think it would be good to convert all the iscsi_unmap_task/iscsi_writesame*_task/iscsi_*_task functions with calls to the much more genric iscsi_scsi_command_sync().

Re: [Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-11-08 Thread Peter Lieven
Am 08.11.2013 um 19:03 schrieb ronnie sahlberg ronniesahlb...@gmail.com: It would mean that any version of libiscsi from 1.1 or later would work and there would not be the issues such as UNMAP is only available from 1.2 and forward, WRITESAME* is only availabel from 1.3. I think 1.3.0

Re: [Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-11-06 Thread Stefan Hajnoczi
On Thu, Oct 24, 2013 at 12:06:49PM +0200, Peter Lieven wrote: this patch adds the ability for targets to stay sparse during block migration (if the zero_blocks capability is set) and qemu-img convert even if the target does not have has_zero_init = 1. the series was especially developed for

Re: [Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-11-06 Thread Paolo Bonzini
Il 06/11/2013 14:08, Stefan Hajnoczi ha scritto: Thanks, applied to my block-next tree: https://github.com/stefanha/qemu/commits/block-next This will go into QEMU 1.8. Since it's a new feature that touches core block layer code and several block drivers, I can't merge it into 1.7-rc. Yay!

Re: [Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-11-06 Thread Peter Lieven
Am 06.11.2013 um 14:08 schrieb Stefan Hajnoczi stefa...@gmail.com: On Thu, Oct 24, 2013 at 12:06:49PM +0200, Peter Lieven wrote: this patch adds the ability for targets to stay sparse during block migration (if the zero_blocks capability is set) and qemu-img convert even if the target does

Re: [Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-11-06 Thread Peter Lieven
Am 06.11.2013 um 14:09 schrieb Paolo Bonzini pbonz...@redhat.com: Il 06/11/2013 14:08, Stefan Hajnoczi ha scritto: Thanks, applied to my block-next tree: https://github.com/stefanha/qemu/commits/block-next This will go into QEMU 1.8. Since it's a new feature that touches core block layer

Re: [Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-11-06 Thread Paolo Bonzini
Il 06/11/2013 20:38, Peter Lieven ha scritto: Am 06.11.2013 um 14:09 schrieb Paolo Bonzini pbonz...@redhat.com: Il 06/11/2013 14:08, Stefan Hajnoczi ha scritto: Thanks, applied to my block-next tree: https://github.com/stefanha/qemu/commits/block-next This will go into QEMU 1.8. Since

[Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-10-24 Thread Peter Lieven
this patch adds the ability for targets to stay sparse during block migration (if the zero_blocks capability is set) and qemu-img convert even if the target does not have has_zero_init = 1. the series was especially developed for iSCSI, but it should also work with other drivers with little or no

Re: [Qemu-devel] [PATCHv7 00/17] block: logical block provisioning enhancements

2013-10-24 Thread Paolo Bonzini
Il 24/10/2013 11:06, Peter Lieven ha scritto: this patch adds the ability for targets to stay sparse during block migration (if the zero_blocks capability is set) and qemu-img convert even if the target does not have has_zero_init = 1. the series was especially developed for iSCSI, but it