Package: qemu
Version: 0.9.0-2

Please consider applying the patch by Juergen Klein to fix a qcow2 image
corruption, that was posted to qemu-devel on March 30th:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg09433.html

Without the patch, converting a ~100GB disk image to qcow2 resulted in
reproducible corruption of the image. The same may happen in regular
use if a qcow2 image grows and makes an increase of the refcount table 
necessary.

This may even warrant severity grave (data loss), but as I don't know
how probable triggering this bug is, I chose not to increase severity.

(For reference, here is the patch. Copied by cut&paste, so it may be 
whitespace-corrupted and may not apply)

Index: block-qcow2.c
===================================================================
RCS file: /cvsroot/qemu/qemu/block-qcow2.c,v
retrieving revision 1.4
diff -u -B -r1.4 block-qcow2.c
--- block-qcow2.c       7 Aug 2006 02:38:06 -0000       1.4
+++ block-qcow2.c       30 Mar 2007 19:19:41 -0000
@@ -1933,6 +1941,7 @@
     qemu_free(s->refcount_table);
     s->refcount_table = new_table;
     s->refcount_table_size = new_table_size;
+    s->refcount_table_offset = table_offset;

     update_refcount(bs, table_offset, new_table_size2, 1);
     return 0;

This patch has already been applied to upstream CVS.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages qemu depends on:
ii  bochsbios               2.3+20070705-2   BIOS for the Bochs emulator
ii  libasound2              1.0.14a-2        ALSA library
ii  libc6                   2.6.1-1+b1       GNU C Library: Shared libraries
ii  libncurses5             5.6+20070825-1   Shared libraries for terminal hand
ii  libsdl1.2debian         1.2.11-9         Simple DirectMedia Layer
ii  openhackware            0.4.1-2          OpenFirmware emulator for PowerPC
ii  proll                   18-2             JavaStation PROM 2.x compatible re
ii  vgabios                 0.6a-2           VGA BIOS software for the Bochs an
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

Versions of packages qemu recommends:
ii  debootstrap              1.0.3           Bootstrap a basic Debian system
ii  sharutils                1:4.6.3-1       shar, unshar, uuencode, uudecode
ii  vde2                     2.1.6+r154-1+b1 Virtual Distributed Ethernet

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to