All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	Jens Axboe <jaxboe@fusionio.com>,
	linux-kernel@vger.kernel.org,
	Daniel Stodden <daniel.stodden@citrix.com>
Subject: Re: commit "xen/blkfront: use tagged queuing for barriers"
Date: Thu, 05 Aug 2010 19:46:37 +0200	[thread overview]
Message-ID: <4C5AF8FD.1060506@redhat.com> (raw)
In-Reply-To: <20100805171944.GA28446@infradead.org>

On 08/05/10 19:19, Christoph Hellwig wrote:
> On Thu, Aug 05, 2010 at 10:08:44AM -0700, Jeremy Fitzhardinge wrote:
>>   On 08/04/2010 09:44 AM, Christoph Hellwig wrote:
>>>> But either the blkfront patch is wrong and it needs to be fixed,
>>> Actually both the old and the new one are wrong, but I'd say the new
>>> one is even more wrong.
>>>
>>> _TAG implies that the device can do ordering by tag.  And at least the
>>> qemu xen_disk backend doesn't when it advertizes this feature.
>>
>> We don't use qemu at all for block storage; qemu (afaik) doesn't
>> have a blkback protocol implementation in it.

Upstream qemu has.

>> I'm guessing xen_disk
>> is to allow kvm to be compatible with Xen disk images?

No, is actually is a blkback implementation.

>> It certainly
>> isn't a reference implementation.

Indeed.  I also havn't tested it for ages, not sure whenever it still works.

> Disk images formats have nothing to do with the I/O interface.  I
> believe Gerd added it for running unmodified Xen guests in qemu,
> but he can explain more of it.

Well, you can boot pv kernels with upstream qemu.  qemu must be compiled 
with xen support enabled, you need xen underneath and xenstored must 
run, but nothing else (xend, tapdisk, ...) is required.  qemu will call 
xen libraries to build the domain and run the pv kernel.  qemu provides 
backends for console, framebuffer, network and disk.

There was also the plan to allow xen being emulated, so you could run pv 
kernels in qemu without xen (using tcg or kvm).  Basically xenner merged 
into qemu.  That project was never finished though and I didn't spend 
any time on it for at least one year ...

Hope this clarifies,
   Gerd


  reply	other threads:[~2010-08-05 17:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100804115124.GA1496@infradead.org>
     [not found] ` <4C596252.9010806@fusionio.com>
     [not found]   ` <20100804164441.GA7838@infradead.org>
     [not found]     ` <4C5AF01C.3040601@goop.org>
2010-08-05 17:19       ` commit "xen/blkfront: use tagged queuing for barriers" Christoph Hellwig
2010-08-05 17:46         ` Gerd Hoffmann [this message]
2010-08-05 21:07         ` Daniel Stodden
2010-08-06 12:43           ` Christoph Hellwig
2010-08-06 21:20             ` Daniel Stodden
2010-08-07 17:20               ` Christoph Hellwig
2010-08-07 23:02                 ` Daniel Stodden
2010-08-05 23:11         ` Jeremy Fitzhardinge

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=4C5AF8FD.1060506@redhat.com \
    --to=kraxel@redhat.com \
    --cc=daniel.stodden@citrix.com \
    --cc=hch@infradead.org \
    --cc=jaxboe@fusionio.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.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 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.