Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187075 - Qemu 0.9.0 corrupts qcow2 disk images
Summary: Qemu 0.9.0 corrupts qcow2 disk images
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-29 23:09 UTC by Chris Williams
Modified: 2007-11-13 00:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to correct qcow2 corruption (from qemu CVS) (block-qcow2.c.patch,346 bytes, patch)
2007-07-29 23:10 UTC, Chris Williams
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Williams 2007-07-29 23:09:16 UTC
Qemu 0.9.0 will corrupt qcow2 images as they grow:
http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00773.html 

The fault has been patched in qemu CVS:
http://lists.gnu.org/archive/html/qemu-devel/2007-04/msg00024.html
http://cvs.savannah.gnu.org/viewvc/qemu/block-qcow2.c?root=qemu&r1=1.4&r2=1.5


chrisw@newton ~ $ equery list qemu
[ Searching for package 'qemu' in all categories among: ]
 * installed packages
[I--] [ -] app-emulation/kqemu-1.3.0_pre11 (0)
[I--] [  ] app-emulation/qemu-0.9.0 (0)
[I--] [  ] app-emulation/qemu-softmmu-0.9.0 (0)
[I--] [  ] app-emulation/qemu-user-0.9.0 (0)

chrisw@newton ~ $ emerge --info
Portage 2.1.2.9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r4, 2.6.21-gentoo-r4 i686)
=================================================================
System uname: 2.6.21-gentoo-r4 i686 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 21 Jul 2007 16:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mtune=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo  http://mirror.pacific.net.au/linux/Gentoo"
LC_ALL="en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/mnt/data/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://ptolemy/gentoo-portage"
USE="3dnow 3dnowext X acl alsa amr apache2 arts audiofile berkdb bitmap-fonts bzip2 cdr cli cracklib crypt css cups curl dri dts dvb dvd dvdr encode ethereal exif expat fam ffmpeg flac fortran gd gdbm gif glut gmp gphoto2 gpm gtk2 guile iconv idn imagemagick imap isdnlog java jpeg kde lcms libg++ mhash midi mmx mmxext mng moznocompose moznoirc moznomail mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre perl php png ppds pppd python qt3 readline reflection samba session slang speex spl sse sse2 ssl svg tcltk tcpd tetex theora tiff transcode truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs x86 xine xml2 xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Williams 2007-07-29 23:10:37 UTC
Created attachment 126397 [details, diff]
Patch to correct qcow2 corruption (from qemu CVS)
Comment 2 Luca Barbato gentoo-dev 2007-11-13 00:17:59 UTC
fixed, thanks