[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Strange virtio regression on mainline and stable-0.10
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] Strange virtio regression on mainline and stable-0.10 |
Date: |
Tue, 05 May 2009 21:18:49 +0300 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090320) |
Avi Kivity wrote:
Avi Kivity wrote:
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.
The problem is that qcow2 does a read-modify-write on
non-cluster-aligned writes. So the following sequence triggers the bug:
No, that's not the problem.
Now I think the problem occurs if the guest does two non-overlapping
writes in parallel that hit the same cluster. Initially the cluster is
not allocated, so the two writes will go into two newly allocated
clusters. When qcow2 tries to update the block pointers, something
strange happens.
--
Do not meddle in the internals of kernels, for they are subtle and quick to
panic.