Before replacing byte-based dirty bitmap with bit-based dirty bitmap, clearing direct accesses to the bitmap first seems to be good point to start with.
This patch set is based on the following discussion. http://www.mail-archive.com/k...@vger.kernel.org/msg30724.html Also rebased to qemu.git aa28b9bf9ba0904766b15e7ab8d62a76cb3225da. Thanks, Yoshi