qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC] qed: Add QEMU Enhanced Disk format


From: Avi Kivity
Subject: Re: [Qemu-devel] [RFC] qed: Add QEMU Enhanced Disk format
Date: Fri, 10 Sep 2010 15:06:30 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Thunderbird/3.1.2

 On 09/10/2010 02:43 PM, Stefan Hajnoczi wrote:

and/or enterprise storage.
That doesn't eliminate undiscovered errors (they can still come from the
transport).
Eliminating silent data corruption is currently not a goal for any
disk image format I know of.  For filesystems, I know that ZFS and
btrfs will try to detect corruption using data checksumming.

The guest filesystem, the disk image format, or the host filesystem
could do checksumming.  The hypervisor should keep out of the way in
the interest of performance and emulation fidelity.  Why does
checksumming need to be done in the image format?  Isn't the choice
between host and guest filesystem checksumming already enough?

You're correct about the data. It's better to do it at the end-point in any case.

The metadata is something else - an error in a cluster table is magnified so it is likely to cause the loss of an entire image, and there's nothing the guest can do about it. btrfs duplicates metadata to avoid this (but if we have btrfs underneath, we can just use raw).

qcow2 exists, people use it, and by the time qed is offered on distros (even
more on enterprise distros), there will be a lot more qcow2 images.  Not
everyone runs qemu.git HEAD.

What will you tell those people?  Upgrade your image?  They may still want
to share it with older installations.  What if they use features not present
in qed?  Bad luck?

qcow2 is going to live forever no matter what we do.
It should be possible to do (live) upgrades for supported images.


That only solves part of the problem.

Please TRIM below the last line of your message.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.




reply via email to

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