Re: [Qemu-devel] [PATCH for-2.0 45/47] qcow2: Limit snapshot table size

2014-03-28 Thread Max Reitz
On 26.03.2014 13:06, Stefan Hajnoczi wrote: From: Kevin Wolf Even with a limit of 64k snapshots, each snapshot could have a filename and an ID with up to 64k, which would still lead to pretty large allocations, which could potentially lead to qemu aborting. Limit the total size of the snapshot

[Qemu-devel] [PATCH for-2.0 45/47] qcow2: Limit snapshot table size

2014-03-26 Thread Stefan Hajnoczi
From: Kevin Wolf Even with a limit of 64k snapshots, each snapshot could have a filename and an ID with up to 64k, which would still lead to pretty large allocations, which could potentially lead to qemu aborting. Limit the total size of the snapshot table to an average of 1k per entry when the l