|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] qemu: block.c: introducing "fmt:FMT:" prefix to image-filenames |
Date: | Thu, 08 Jan 2009 17:23:45 -0600 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
Jamie Lokier wrote:
Uri Lublin wrote:Daniel P. Berrange wrote:Yes the format you write into the qcow2 header can still use the fmt:qcow2: prefix - just no need to expose that particular qcow2 specific implementation detail on the CLI.OK. I'll prepare a patch that adds '-F fmt' to 'qemu-img create -b ...'Will it break backing files whose filename begins with "fmt:"? Just because I hate hidden "some filenames work, some filenames break mysteriously, and of course it's not documented" dodgy hacks.
I'm pretty certain that you couldn't do that today in QEMU. The colon has always been used for protocol checking and if the protocol is invalid, I think we throw an error.
Regards, Anthony Liguori
-- Jamie
[Prev in Thread] | Current Thread | [Next in Thread] |