Re: [Qemu-devel] [PATCH v2 for-1.5 1/4] qcow2: Catch some L1 table index overflows

2013-05-14 Thread Stefan Hajnoczi
On Tue, May 14, 2013 at 04:14:33PM +0200, Kevin Wolf wrote: > This catches the situation that is described in the bug report at > https://bugs.launchpad.net/qemu/+bug/865518 and goes like this: > > $ qemu-img create -f qcow2 huge.qcow2 $((1024*1024))T > Formatting 'huge.qcow2', fmt=qcow2 s

[Qemu-devel] [PATCH v2 for-1.5 1/4] qcow2: Catch some L1 table index overflows

2013-05-14 Thread Kevin Wolf
This catches the situation that is described in the bug report at https://bugs.launchpad.net/qemu/+bug/865518 and goes like this: $ qemu-img create -f qcow2 huge.qcow2 $((1024*1024))T Formatting 'huge.qcow2', fmt=qcow2 size=1152921504606846976 encryption=off cluster_size=65536 lazy_refcou