[Qemu-devel] [PATCH 01/11] snapshot: create helper to test that block drivers supports snapshots

2015-11-18 Thread Denis V. Lunev
The patch enforces proper locking for this operation. Signed-off-by: Denis V. Lunev Reviewed-by: Greg Kurz Reviewed-by: Stefan Hajnoczi Reviewed-by: Fam Zheng Reviewed-by: Juan Quintela CC: Kevin Wolf Tested-by: Greg Kurz --- block/snapshot.c | 24 include/

Re: [Qemu-devel] [PATCH 01/11] snapshot: create helper to test that block drivers supports snapshots

2015-11-18 Thread Juan Quintela
"Denis V. Lunev" wrote: > The patch enforces proper locking for this operation. > > Signed-off-by: Denis V. Lunev > Reviewed-by: Greg Kurz > Reviewed-by: Stefan Hajnoczi > Reviewed-by: Fam Zheng > CC: Juan Quintela > CC: Kevin Wolf Reviewed-by: Juan Quintela

[Qemu-devel] [PATCH 01/11] snapshot: create helper to test that block drivers supports snapshots

2015-11-17 Thread Denis V. Lunev
The patch enforces proper locking for this operation. Signed-off-by: Denis V. Lunev Reviewed-by: Greg Kurz Reviewed-by: Stefan Hajnoczi Reviewed-by: Fam Zheng CC: Juan Quintela CC: Kevin Wolf --- block/snapshot.c | 24 include/block/snapshot.h | 8

Re: [Qemu-devel] [PATCH 01/11] snapshot: create helper to test that block drivers supports snapshots

2015-11-06 Thread Stefan Hajnoczi
On Thu, Nov 05, 2015 at 07:26:50AM +0100, Greg Kurz wrote: > On Wed, 4 Nov 2015 20:19:32 +0300 > > + * > > + * Returned block driver will be always locked. > > + */ > > + > > +bool bdrv_all_can_snapshot(BlockDriverState **first_bad_bs) > > Juan suggested bdrv_snapshot_is_possible() and FWIW you a

Re: [Qemu-devel] [PATCH 01/11] snapshot: create helper to test that block drivers supports snapshots

2015-11-05 Thread Denis V. Lunev
On 11/05/2015 09:26 AM, Greg Kurz wrote: On Wed, 4 Nov 2015 20:19:32 +0300 "Denis V. Lunev" wrote: The patch enforces proper locking for this operation. Signed-off-by: Denis V. Lunev CC: Juan Quintela CC: Stefan Hajnoczi CC: Kevin Wolf --- block/snapshot.c | 27

Re: [Qemu-devel] [PATCH 01/11] snapshot: create helper to test that block drivers supports snapshots

2015-11-04 Thread Greg Kurz
On Wed, 4 Nov 2015 20:19:32 +0300 "Denis V. Lunev" wrote: > The patch enforces proper locking for this operation. > > Signed-off-by: Denis V. Lunev > CC: Juan Quintela > CC: Stefan Hajnoczi > CC: Kevin Wolf > --- > block/snapshot.c | 27 +++ > include/block/

[Qemu-devel] [PATCH 01/11] snapshot: create helper to test that block drivers supports snapshots

2015-11-04 Thread Denis V. Lunev
The patch enforces proper locking for this operation. Signed-off-by: Denis V. Lunev CC: Juan Quintela CC: Stefan Hajnoczi CC: Kevin Wolf --- block/snapshot.c | 27 +++ include/block/snapshot.h | 9 + migration/savevm.c | 17 - 3 f