Re: [Qemu-devel] [PATCH v2 0.15.0] qcow2: Fix L1 table size after bdrv_snapshot_goto

2011-08-05 Thread Frediano Ziglio
2011/8/5 Frediano Ziglio : > 2011/8/5 Kevin Wolf : >> Am 05.08.2011 08:35, schrieb Frediano Ziglio: >>> 2011/8/4 Kevin Wolf : When loading an internal snapshot whose L1 table is smaller than the current L1 table, the size of the current L1 would be shrunk to the snapshot's L1

Re: [Qemu-devel] [PATCH v2 0.15.0] qcow2: Fix L1 table size after bdrv_snapshot_goto

2011-08-05 Thread Frediano Ziglio
2011/8/5 Kevin Wolf : > Am 05.08.2011 08:35, schrieb Frediano Ziglio: >> 2011/8/4 Kevin Wolf : >>> When loading an internal snapshot whose L1 table is smaller than the >>> current L1 >>> table, the size of the current L1 would be shrunk to the snapshot's L1 size >>> in >>> memory, but not on disk

Re: [Qemu-devel] [PATCH v2 0.15.0] qcow2: Fix L1 table size after bdrv_snapshot_goto

2011-08-05 Thread Kevin Wolf
Am 05.08.2011 08:35, schrieb Frediano Ziglio: > 2011/8/4 Kevin Wolf : >> When loading an internal snapshot whose L1 table is smaller than the current >> L1 >> table, the size of the current L1 would be shrunk to the snapshot's L1 size >> in >> memory, but not on disk. This lead to incorrect refco

Re: [Qemu-devel] [PATCH v2 0.15.0] qcow2: Fix L1 table size after bdrv_snapshot_goto

2011-08-04 Thread Frediano Ziglio
2011/8/4 Kevin Wolf : > When loading an internal snapshot whose L1 table is smaller than the current > L1 > table, the size of the current L1 would be shrunk to the snapshot's L1 size in > memory, but not on disk. This lead to incorrect refcount updates and > eventuelly > to image corruption. > >

Re: [Qemu-devel] [PATCH v2 0.15.0] qcow2: Fix L1 table size after bdrv_snapshot_goto

2011-08-04 Thread Philipp Hahn
Hello, On Thursday 04 August 2011 18:24:59 Kevin Wolf wrote: > When loading an internal snapshot whose L1 table is smaller than the > current L1 table, the size of the current L1 would be shrunk to the > snapshot's L1 size in memory, but not on disk. This lead to incorrect > refcount updates and e

[Qemu-devel] [PATCH v2 0.15.0] qcow2: Fix L1 table size after bdrv_snapshot_goto

2011-08-04 Thread Kevin Wolf
When loading an internal snapshot whose L1 table is smaller than the current L1 table, the size of the current L1 would be shrunk to the snapshot's L1 size in memory, but not on disk. This lead to incorrect refcount updates and eventuelly to image corruption. Instead of writing the new L1 size to