Skip to content
Commit 4bfe16ba authored by Max Reitz's avatar Max Reitz Committed by Michael Roth
Browse files

qcow2: Avoid making the L1 table too big



We refuse to open images whose L1 table we deem "too big". Consequently,
we should not produce such images ourselves.

Cc: qemu-stable@nongnu.org
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
Message-id: 20160615153630.2116-3-mreitz@redhat.com
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
[mreitz: Added QEMU_BUILD_BUG_ON()]
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>

(cherry picked from commit 84c26520)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent 683c1c5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment