From: Shahar Frank <sfrank@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel][PATCH] Qemu image over raw devices
Date: Thu, 18 Dec 2008 19:20:58 +0200 [thread overview]
Message-ID: <494A867A.7060007@redhat.com> (raw)
In-Reply-To: <4948F722.9090303@suse.de>
Kevin Wolf wrote:
> Shahar Frank schrieb:
>> Kevin, Daniel,
>>
>> What do you think is the right thing to do here?
>>
>> Option one:
>>
>> 1. I can suggest a new extension mechanism for QCOW2 (it can be even
>> backwards compatible) and store the backing file format there
>> 2. I can add a flag to qemu-img create to force backing file format
>> (that is stored in the above extension).
>>
>> Or:
>>
>> Option two:
>>
>> I can register qcow2 as a protocol and allow users to explicitly force
>> qcow2 image logic.
>> It is true that the ":" notation is still used, but as this notation is
>> still required even for the drive option (vvfat, for example) it won't
>> be the first to introduce it to the system.
>>
>> I have a feeling you both prefer option one ;-)
>
> I think I'm not really decided on that one. For me, the most important
> thing is that you don't force users to rely on guessing. So while I
> slightly tend towards the first option, I also wouldn't be opposed to
> the second one.
>
> Kevin
>
>
Kevin, thanks for the input. I think I will try to suggest a patch to
implement option 2.
My reasons are:
1. The raw image + probing is not caused by the current patch and not
worsen by the current patch. It just allow you to use probing if you want.
2. I think it much more dangerous to mess with the qcow2 header than
adding this probe option.
3. The security problem can be solved by various ways. For example, use
probing just for non raw entities. If you know it is raw, force it to be
raw (using one of the current ways). This will solve the security
problem. I have some other ideas to solve this issue, but none of them
are related to the current patch - it is completely different issue. I
hope to post such (additional) patch soon.
Shahar
next prev parent reply other threads:[~2008-12-18 17:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <571317069.373331229413498662.JavaMail.root@zmail02.collab.prod.int.phx2.redhat.com>
2008-12-16 7:50 ` [Qemu-devel][PATCH] Qemu image over raw devices Shahar Frank
2008-12-16 9:40 ` Kevin Wolf
2008-12-16 10:21 ` Shahar Frank
2008-12-16 12:10 ` Kevin Wolf
2008-12-16 12:55 ` Shahar Frank
2008-12-17 12:57 ` Kevin Wolf
2008-12-18 17:20 ` Shahar Frank [this message]
2008-12-16 10:53 ` Daniel P. Berrange
2008-12-15 14:04 Shahar Frank
2008-12-15 18:17 ` Kevin Wolf
2008-12-16 11:15 ` Daniel P. Berrange
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=494A867A.7060007@redhat.com \
--to=sfrank@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).