|
From: | Eric Blake |
Subject: | Re: [Qemu-block] [Qemu-devel] [PATCH] bitmap: Update count after a merge |
Date: | Fri, 9 Nov 2018 11:57:04 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
On 9/27/18 12:23 PM, John Snow wrote:
On 09/26/2018 11:11 PM, Eric Blake wrote:We need an accurate count of the number of bits set in a bitmap after a merge. In particular, since the merge operation short-circuits a merge from an empty source, if you have bitmaps A, B, and C where B started empty, then merge C into B, and B into A, an inaccurate count meant that A did not get the contents of C.
OK, tests coming up. Thanks for the CC to stable.
Did we ever add tests for this yet? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |