All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>,
	Stefan Hajnoczi <stefanha@gmail.com>,
	qemu-devel@nongnu.org, Avi Kivity <avi@redhat.com>,
	Christoph Hellwig <hch@lst.de>
Subject: Re: [Qemu-devel] Re: [PATCH v4 2/5] qed: Add QEMU Enhanced Disk image format
Date: Fri, 12 Nov 2010 18:34:48 +0100	[thread overview]
Message-ID: <4CDD7AB8.1010806@redhat.com> (raw)
In-Reply-To: <m3vd425uaq.fsf@blackfin.pond.sub.org>

Am 12.11.2010 18:24, schrieb Markus Armbruster:
> Kevin Wolf <kwolf@redhat.com> writes:
> 
>> Am 12.11.2010 17:34, schrieb Stefan Hajnoczi:
>>> On Fri, Nov 12, 2010 at 3:43 PM, Kevin Wolf <kwolf@redhat.com> wrote:
>>>> Am 28.10.2010 13:01, schrieb Stefan Hajnoczi:
>>>>> +/**
>>>>> + * Check whether an image format is raw
>>>>> + *
>>>>> + * @fmt:    Backing file format, may be NULL
>>>>> + */
>>>>> +static bool qed_fmt_is_raw(const char *fmt)
>>>>> +{
>>>>> +    return fmt && strcmp(fmt, "raw") == 0;
>>>>> +}
>>>>
>>>> People shouldn't use them directly, but should we also consider file,
>>>> host_device, etc.?
>>>
>>> Hrm..I will look into it for v5.  I thought we always have a "raw"
>>> format on top of "file", "host_device", etc protocols?
>>
>> That's how it's meant to be used. I think at the moment we still allow
>> to directly use file etc. and you know that if something is possible,
>> users will do it.
> 
> It's possible, it's perfectly well-defined, and it works.

Wow, I'm not used to be confirmed that quickly!

Yes, it's possible, it works, but it's only exposed because we didn't
pay attention when host_* was split out. There's no real reason to use
it (or do you have any example where format=raw doesn't work?) and it
should be considered an implementation detail.

Kevin

  reply	other threads:[~2010-11-12 17:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 11:01 [Qemu-devel] [PATCH v4 0/5] qed: Add QEMU Enhanced Disk format Stefan Hajnoczi
2010-10-28 11:01 ` [Qemu-devel] [PATCH v4 1/5] docs: Add QED image format specification Stefan Hajnoczi
2010-11-12 13:58   ` [Qemu-devel] " Kevin Wolf
2010-11-12 14:04     ` Stefan Hajnoczi
2010-10-28 11:01 ` [Qemu-devel] [PATCH v4 2/5] qed: Add QEMU Enhanced Disk image format Stefan Hajnoczi
2010-11-12 15:43   ` [Qemu-devel] " Kevin Wolf
2010-11-12 16:34     ` Stefan Hajnoczi
2010-11-12 16:52       ` Kevin Wolf
2010-11-12 17:24         ` Markus Armbruster
2010-11-12 17:34           ` Kevin Wolf [this message]
2010-10-28 11:01 ` [Qemu-devel] [PATCH v4 3/5] qed: Table, L2 cache, and cluster functions Stefan Hajnoczi
2010-11-12 17:26   ` [Qemu-devel] " Kevin Wolf
2010-11-12 17:40     ` Stefan Hajnoczi
2010-10-28 11:01 ` [Qemu-devel] [PATCH v4 4/5] qed: Read/write support Stefan Hajnoczi
2010-10-28 11:01 ` [Qemu-devel] [PATCH v4 5/5] qed: Consistency check support Stefan Hajnoczi

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=4CDD7AB8.1010806@redhat.com \
    --to=kwolf@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=armbru@redhat.com \
    --cc=avi@redhat.com \
    --cc=hch@lst.de \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    --cc=stefanha@linux.vnet.ibm.com \
    /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 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.