Re: [Qemu-block] [Qemu-devel] Minutes from the "Stuttgart block Gipfele"

2016-01-06 Thread Stefan Hajnoczi
On Mon, Jan 04, 2016 at 03:28:36PM +0800, Fam Zheng wrote: > On Mon, 01/04 13:16, Stefan Hajnoczi wrote: > > On Wed, Dec 23, 2015 at 06:15:20PM +0800, Fam Zheng wrote: > > > On Fri, 12/18 14:15, Markus Armbruster wrote: > > > In that theory, all other block job types, mirror/stream/commit, fit into

Re: [Qemu-block] [Qemu-devel] [PATCH 07/13] tests: Add test code for meta bitmap

2016-01-06 Thread John Snow
On 01/04/2016 05:27 AM, Fam Zheng wrote: > Signed-off-by: Fam Zheng > --- > tests/test-hbitmap.c | 113 > +++ > 1 file changed, 113 insertions(+) > > diff --git a/tests/test-hbitmap.c b/tests/test-hbitmap.c > index abcea0c..19136e7 100644 > ---

Re: [Qemu-block] [PATCH v4 0/5] qmp: Add blockdev-mirror

2016-01-06 Thread Max Reitz
On 24.12.2015 05:45, Fam Zheng wrote: > v4: 02: Add Max's rev-by. > 04: buf_size -> buf-size. > Add Markus' Ack-by. > 05: 'node1' -> qmp_target. > Fix double quotes. > Add Max's Rev-by. > > v3: Rebase to master. > > v2: 01: Move bdrv_op_block_all down. [Max] >

Re: [Qemu-block] [PATCH v9 1/2] mirror: Rewrite mirror_iteration

2016-01-06 Thread Max Reitz
On 05.01.2016 09:46, Fam Zheng wrote: > The "pnum < nb_sectors" condition in deciding whether to actually copy > data is unnecessarily strict, and the qiov initialization is > unnecessarily for bdrv_aio_write_zeroes and bdrv_aio_discard. > > Rewrite mirror_iteration to fix both flaws. > > Signed-

Re: [Qemu-block] [Qemu-devel] [PATCH] send readcapacity10 when readcapacity16 failed

2016-01-06 Thread John Snow
On 01/05/2016 02:57 PM, ronnie sahlberg wrote: > MMC devices: > READ CAPACITY 10 support is mandatory. > No support for READ CAPACITY 16 > > SBC devices: > READ CAPACITY 10 is mandatory > READ CAPACITY 16 support is only required when you have thin > provisioning or protection information (or if

Re: [Qemu-block] [PATCH v9 1/2] mirror: Rewrite mirror_iteration

2016-01-06 Thread Max Reitz
On 05.01.2016 09:46, Fam Zheng wrote: > The "pnum < nb_sectors" condition in deciding whether to actually copy > data is unnecessarily strict, and the qiov initialization is > unnecessarily for bdrv_aio_write_zeroes and bdrv_aio_discard. > > Rewrite mirror_iteration to fix both flaws. > > Signed-

Re: [Qemu-block] [PATCH v5 12/15] block: Remove the "bs->file" test in bdrv_co_get_block_status

2016-01-06 Thread Max Reitz
On 05.01.2016 09:11, Fam Zheng wrote: > Now that all drivers return the right "file" pointer, we can remove this > check. > > Signed-off-by: Fam Zheng > --- > block/io.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/block/io.c b/block/io.c > index 492c291..1ca4e61 100

Re: [Qemu-block] [PATCH v5 11/15] vmdk: Return extent's file in bdrv_get_block_status

2016-01-06 Thread Max Reitz
On 05.01.2016 09:11, Fam Zheng wrote: > Signed-off-by: Fam Zheng > --- > block/vmdk.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) Reviewed-by: Max Reitz signature.asc Description: OpenPGP digital signature

Re: [Qemu-block] [PATCH v5 01/15] block: Add "file" output parameter to block status query functions

2016-01-06 Thread Max Reitz
On 05.01.2016 09:11, Fam Zheng wrote: > The added parameter can be used to return the BDS pointer which the > valid offset is referring to. Its value should be ignored unless > BDRV_BLOCK_OFFSET_VALID in ret is set. > > Until block drivers fill in the right value, let's clear it explicitly > right

Re: [Qemu-block] [Qemu-devel] [PATCH v5 4/6] expose floppy drive geometry and CMOS type

2016-01-06 Thread Denis V. Lunev
On 01/04/2016 11:44 PM, John Snow wrote: On 12/30/2015 03:11 PM, Roman Kagan wrote: Make it possible to query the geometry and the CMOS type of a floppy drive outside of the respective source files. It will be useful, in particular, when dynamically building ACPI tables, and will allow to prop

Re: [Qemu-block] [PATCH v5 0/6] i386: expose floppy-related objects in SSDT

2016-01-06 Thread Igor Mammedov
On Wed, 30 Dec 2015 23:11:50 +0300 Roman Kagan wrote: > Windows on UEFI systems is only capable of detecting the presence and > the type of floppy drives via corresponding ACPI objects. > > Those objects are added in patch 5; the preceding ones pave the way to > it, by making the necessary data

Re: [Qemu-block] [PATCH] SCSI device: fix to incomplete QOMify

2016-01-06 Thread Michael S. Tsirkin
On Wed, Jan 06, 2016 at 05:37:46PM +0800, Cao jin wrote: > Signed-off-by: Cao jin Acked-by: Michael S. Tsirkin > --- > hw/scsi/megasas.c | 12 ++-- > hw/scsi/scsi-bus.c| 4 ++-- > hw/scsi/virtio-scsi.c | 2 +- > 3 files changed, 9 insertions(+), 9 deletions(-) > > diff --git

[Qemu-block] [PATCH] SCSI device: fix to incomplete QOMify

2016-01-06 Thread Cao jin
Signed-off-by: Cao jin --- hw/scsi/megasas.c | 12 ++-- hw/scsi/scsi-bus.c| 4 ++-- hw/scsi/virtio-scsi.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/hw/scsi/megasas.c b/hw/scsi/megasas.c index d7dc667..78239bf 100644 --- a/hw/scsi/megasas.c +++ b/hw/s