Re: [Qemu-devel] [PATCH v3 3/4] block/parallels: add migration blocker

2017-11-07 Thread Stefan Hajnoczi
On Mon, Nov 06, 2017 at 09:31:21PM -0500, Jeff Cody wrote: > @@ -720,6 +722,16 @@ static int parallels_open(BlockDriverState *bs, QDict > *options, int flags, > s->bat_dirty_bmap = > bitmap_new(DIV_ROUND_UP(s->header_size, s->bat_dirty_block)); > > +/* Disable migration until

[Qemu-devel] [PATCH v3 3/4] block/parallels: add migration blocker

2017-11-06 Thread Jeff Cody
Migration does not work for parallels, and has been broken for a while (see patch 'block/parallels: Do not update header or truncate image when INMIGRATE'). The bdrv_invalidate_cache() method needs to be added for migration to be supported. Until this is done, prohibit migration.