Re: [Qemu-devel] [PATCH v4 2/6] block/dirty-bitmaps: fix merge permissions

2018-10-03 Thread Vladimir Sementsov-Ogievskiy
03.10.2018 02:02, John Snow wrote: > In prior commits that made merge transactionable, we removed the > assertion that merge cannot operate on disabled bitmaps. In addition, > we want to make sure that we are prohibiting merges to "locked" bitmaps. > > Use the new user_locked function to check. > >

Re: [Qemu-devel] [PATCH v4 2/6] block/dirty-bitmaps: fix merge permissions

2018-10-03 Thread Eric Blake
On 10/2/18 6:02 PM, John Snow wrote: In prior commits that made merge transactionable, we removed the assertion that merge cannot operate on disabled bitmaps. In addition, we want to make sure that we are prohibiting merges to "locked" bitmaps. Use the new user_locked function to check. Reporte

[Qemu-devel] [PATCH v4 2/6] block/dirty-bitmaps: fix merge permissions

2018-10-02 Thread John Snow
In prior commits that made merge transactionable, we removed the assertion that merge cannot operate on disabled bitmaps. In addition, we want to make sure that we are prohibiting merges to "locked" bitmaps. Use the new user_locked function to check. Reported-by: Eric Blake Signed-off-by: John S