]> git.ipfire.org Git - thirdparty/qemu.git/commit
qcow2: Set MIN_L2_CACHE_SIZE to 2
authorMax Reitz <mreitz@redhat.com>
Mon, 1 Jun 2015 16:09:17 +0000 (18:09 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 29 Jul 2015 23:26:34 +0000 (18:26 -0500)
commitc631ee6520656aa5e3db01e4cc3203734ff63c63
tree6b598f3bcf9cbad31f356595f597e09d15baf3e3
parentb153c8d3f3935f39d5a1b573d036b1f0f5a45812
qcow2: Set MIN_L2_CACHE_SIZE to 2

The L2 cache must cover at least two L2 tables, because during COW two
L2 tables are accessed simultaneously.

Reported-by: Alexander Graf <agraf@suse.de>
Cc: qemu-stable <qemu-stable@nongnu.org>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Tested-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 57e216695948a79d9ced82fc217a37cce70fd986)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/qcow2.h