[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block-raw: Allow pread beyond the end of growab
From: |
Christoph Hellwig |
Subject: |
Re: [Qemu-devel] [PATCH] block-raw: Allow pread beyond the end of growable images |
Date: |
Wed, 1 Jul 2009 10:56:12 +0200 |
User-agent: |
Mutt/1.3.28i |
On Wed, Jul 01, 2009 at 09:37:28AM +0200, Kevin Wolf wrote:
> If you feel like posting a better patch, go ahead. I'm feeling that it's
> going to be a whole lot uglier in bdrv_pwrite, but that might prove
> wrong. And after all it is a problem with raw and not with the generic
> block code - qcow2 for example was already reading zeros.
>
> For the time being, this patch fixes a bug and should stay.
So the only use case is a doing a savevm on a qcow2 device with a
raw-posix backing dev? What happens with nbd backing dev or a raw
backing dev on win32? OR (not sure we'll actually support that) another
image format backing dev?