From: Anthony Liguori <anthony@codemonkey.ws>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
Aaron Mason <absorbentshoulderman@gmail.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Patch: Adding ability for qemu-img to create SCSI VMware disk images
Date: Tue, 26 May 2009 15:01:45 -0500 [thread overview]
Message-ID: <4A1C4AA9.6000002@codemonkey.ws> (raw)
In-Reply-To: <20090526195819.GD13938@redhat.com>
Daniel P. Berrange wrote:
> On Tue, May 26, 2009 at 02:52:27PM -0500, Anthony Liguori wrote:
>
>> Kevin Wolf wrote:
>>
>>
>>> FWIW, I know that SUSE had a use for these SCSI VMDKs and they carry a
>>> local patch for it. I would prefer to have such things upstream, even if
>>> it's just for exporting. After all, qemu-img is the Swiss army knife for
>>> images.
>>>
>>>
>> If there's support for it, we can take it. I worry about adding
>> features that aren't widely useful as they add complexity and make it
>> hard to refactor things.
>>
>> Introducing BLOCK_FLAG_BUSLOGIC and BLOCK_FLAG_LSILOGIC seems very wrong
>> to me. You're happy with it?
>>
>
> I think the addition of new VMDK specific flags to qemu-img is pretty
> wrong too
>
> - " create [-e] [-6] [-b base_image] [-f fmt] filename [size]\n"
> + " create [-e] [-6] [-S] [-L] [-b base_image] [-f fmt] filename
> ....
> + " '-S' indicates that the target image must be a BusLogic SCSI
> virtual disk (vmdk format only)\n"
> + " '-L' indicates that the target image must be a LSI Logic SCSI
> virtual disk (vmdk format only)\n"
>
>
> If we want to expose this capability, then I think we should have some
> kind of generic 'feature' string that can be passed through to the specific
> block driver, without needing an unbounded number of qemu-img args to be
> added. eg.
>
> qemu-img create -o target=buslogic foo.vmdk
> qemu-img create -o target=lsilogic foo.vmdk
>
> And just pass the whole value from '-o' through to the block layer's
> create method.
>
You can have the configs be external to vmdk's too, right?
Could we just make configs external to the sparse images so that people
could edit them however they wanted?
Regards,
Anthony Liguori
> Daniel
>
next prev parent reply other threads:[~2009-05-26 20:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-22 10:29 [Qemu-devel] Patch: Adding ability for qemu-img to create SCSI VMware disk images Aaron Mason
2009-05-22 16:41 ` Anthony Liguori
[not found] ` <e869674d0905240116n3245c5bdxf66552984a4037f5@mail.gmail.com>
2009-05-26 8:02 ` Anthony Liguori
2009-05-26 9:09 ` Kevin Wolf
2009-05-26 19:52 ` Anthony Liguori
2009-05-26 19:58 ` Daniel P. Berrange
2009-05-26 20:01 ` Anthony Liguori [this message]
2009-05-27 7:29 ` Kevin Wolf
2009-05-27 7:40 ` Christoph Hellwig
2009-05-27 8:23 ` Anthony Liguori
2009-05-26 18:17 ` Robert Riebisch
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=4A1C4AA9.6000002@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=absorbentshoulderman@gmail.com \
--cc=berrange@redhat.com \
--cc=kwolf@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).