All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Feature request for qcow v2
@ 2006-07-23 20:51 Anthony Liguori
  0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2006-07-23 20:51 UTC (permalink / raw)
  To: qemu-devel

Hi,

I've been playing with some code to implement an HTTP block device in 
QEMU.  I'll post when I've got something working.  As I am building this 
though, I thought of something that would be nice to have for qcow v2.

What I'd like is essentially a copy-on-read flag.  If this flag is set, 
and there is a base image, then whenever a read occurs to an unallocated 
sector, the sector is copied from the base (similar to a write) and the 
sector is allocated.

The idea is that copy-on-read is useful when read is really slow (for 
instance, with an HTTP block device).  This way, you could essentially 
always use qcow + HTTP so that your block device was locally cached.  It 
seems a bit more elegant than trying to implement a caching mechanism in 
the HTTP block device.

Regards,

Anthony Liguori

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-23 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-23 20:51 [Qemu-devel] Feature request for qcow v2 Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.