qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] stacking the block layer


From: Alexander Graf
Subject: [Qemu-devel] stacking the block layer
Date: Wed, 5 Aug 2009 03:37:33 +0200

Hi list,

I just implemented dzip (seekable gzip) support and stumbled across a major bummer in the block layer:

Formats can't be stacked.

So why do we have this restriction? From what I could tell, the current code would just run into an endless loop, because the probe function of the format we're trying to open triggers when trying to open the underlying file.

Now that is a valid problem, but can't we just match that when opening a file from say "qcow2" that we simply don't open backing files as "qcow2" as well?

That way we could have qcow2 in dzip served via HTTP. At the end of the day I also want to bring tar into the game, so we'd have qcow2 (format) in tar (format) in dzip (format) on HTTP (protocol).

I'd like to hear your thoughts on that - are there any reasons not to go down this road?

Alex




reply via email to

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