qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Strange virtio regression on mainline and stable-0.10


From: Avi Kivity
Subject: [Qemu-devel] Strange virtio regression on mainline and stable-0.10
Date: Tue, 05 May 2009 12:52:52 +0300
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Running the Fedora 10 installer on a virtio disk on current master and on v0.10.3 will cause the installer to complain when mounting the freshly formatted filesystems. A bisect (on stable-0.10) yielded

4df8f71ee5276fb22a810bbb67db3a4288f5cad4 is first bad commit
commit 4df8f71ee5276fb22a810bbb67db3a4288f5cad4
Author: aliguori <address@hidden>
Date:   Fri Apr 17 20:44:41 2009 +0000

   qcow2 corruption: Fix alloc_cluster_link_l2 (Kevin Wolf)
This patch fixes a qcow2 corruption bug introduced in SVN Rev 5861. L2 tables are big endian, so entries must be converted before being passed to functions. This bug is easy to trigger. The following script will create and destroy a
   qcow2 image (the header is gone after three loop iterations):
#!/bin/bash
       qemu-img create -f qcow2 test.qcow 1M
       for i in $(seq 1 10); do
qemu-system-x86_64 -hda test.qcow -monitor stdio > /dev/null 2>&1 <<EOF
       savevm test-$i
       quit
       EOF
       done
Signed-off-by: Kevin Wolf <address@hidden>
   Signed-off-by: Anthony Liguori <address@hidden>

As the guilty commit.

I don't understand it, as free_any_clusters() shouldn't be called while formatting. Any ideas?

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]