From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
To: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
Gerd Hoffmann <kraxel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: virtio implementation?
Date: Wed, 18 Jul 2007 19:02:51 -0500 [thread overview]
Message-ID: <469EAA2B.40307@codemonkey.ws> (raw)
In-Reply-To: <200707190148.21728.arnd-r2nGTMty4D4@public.gmane.org>
Arnd Bergmann wrote:
> On Wednesday 18 July 2007, Gerd Hoffmann wrote:
>
>> Rusty Russell wrote:
>>
>>> You mean backend? For networking it makes a great deal of sense. For
>>> block it makes far less sense (COW, weird formats, etc).
>>>
>> For block you probably want both: userspace driver which can handle all
>> sorts of funny image files, and a kernel driver doing a 1:1 mapping to a
>> block device (lvm volume).
>>
>>
>
> Interestingly, once you have the kernel driver that maps a block device,
> you can do most of the useful user scenarios by means of /dev/loop
> and/or device mapper.
>
Not quite. Using device mapper to implement something like qcow turns
out to be pretty painful. qcow, for instance, doesn't guarantee that
blocks will be aligned to a sector boundary. It also doesn't guarantee
that blocks are >= PAGE_SIZE. The other problem is that device mapper
doesn't very much like to have very large tables so you end up having to
use the table as a cache.
See dm-userspace for an actual implementation of all of this. I'm
beginning to think that a more proper userspace block device would be
interesting.
http://wiki.xensource.com/xenwiki/DmUserspace
Regards,
Anthony Liguori
> Arnd <><
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
next prev parent reply other threads:[~2007-07-19 0:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-17 13:19 virtio implementation? Gregory Haskins
[not found] ` <469C89BD0200005A00027AE1-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-07-17 13:31 ` Dor Laor
[not found] ` <64F9B87B6B770947A9F8391472E032160CC163F7-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-07-17 23:42 ` Rusty Russell
[not found] ` <1184715761.10380.37.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-07-18 6:49 ` Dor Laor
[not found] ` <64F9B87B6B770947A9F8391472E032160CC169D5-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-07-18 7:06 ` Rusty Russell
[not found] ` <1184742407.10380.108.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-07-18 8:49 ` Avi Kivity
2007-07-18 7:57 ` Gerd Hoffmann
[not found] ` <469DC7F2.8050909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-07-18 23:48 ` Arnd Bergmann
[not found] ` <200707190148.21728.arnd-r2nGTMty4D4@public.gmane.org>
2007-07-19 0:02 ` Anthony Liguori [this message]
[not found] ` <469EAA2B.40307-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-07-19 0:12 ` Arnd Bergmann
[not found] ` <200707190212.25826.arnd-r2nGTMty4D4@public.gmane.org>
2007-07-19 1:42 ` Anthony Liguori
2007-07-19 5:42 ` Avi Kivity
2007-07-19 2:37 ` Daniel P. Berrange
-- strict thread matches above, loose matches on Subject: below --
2007-07-17 13:37 Gregory Haskins
[not found] ` <469C8DDF0200005A00027AEC-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-07-17 16:14 ` Dor Laor
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=469EAA2B.40307@codemonkey.ws \
--to=anthony-rdkfgonbjusknkdkm+me6a@public.gmane.org \
--cc=arnd-r2nGTMty4D4@public.gmane.org \
--cc=kraxel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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