* virtio implementation?
@ 2007-07-17 13:19 Gregory Haskins
[not found] ` <469C89BD0200005A00027AE1-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
0 siblings, 1 reply; 15+ messages in thread
From: Gregory Haskins @ 2007-07-17 13:19 UTC (permalink / raw)
To: rusty-8n+1lVoiYb80n/F98K4Iww; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi Rusty,
I was curious if there are any implementations of your virtio
substrate for KVM yet? And if not, I can offer help to get this done as
I have an immediate need for a ring-buffer like PV channel.
Regards,
-Greg
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[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>
0 siblings, 1 reply; 15+ messages in thread
From: Dor Laor @ 2007-07-17 13:31 UTC (permalink / raw)
To: Gregory Haskins, rusty-8n+1lVoiYb80n/F98K4Iww
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>Hi Rusty,
> I was curious if there are any implementations of your virtio
>substrate for KVM yet? And if not, I can offer help to get this done
as
>I have an immediate need for a ring-buffer like PV channel.
>
>Regards,
>-Greg
Actually I was planning of doing it. I'm maintaining our not-merged PV
network drivers branch
[started by Ingo Molnar].
Since they already contain a ring + network logic I though of dropping
the front end
part and hooking with virtio.
I also want to add/use virtio layer for the host side - KVM, Xen and
lguest all have Linux host
backend it makes logic to use a generic host drivers for
networking/block device too.
Actually this is my KVM forum presentation.
You're welcome to rip my ring code ;)
btw: Rusty - what do you think of virtio for the host?
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
@ 2007-07-17 13:37 Gregory Haskins
[not found] ` <469C8DDF0200005A00027AEC-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
0 siblings, 1 reply; 15+ messages in thread
From: Gregory Haskins @ 2007-07-17 13:37 UTC (permalink / raw)
To: dor.laor-atKUWr5tajBWk0Htik3J/w
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, 2007-07-17 at 06:31 -0700, Dor Laor wrote:
> You're welcome to rip my ring code ;)
Point me at the code, if you would. I would be happy to use it as a
base. :)
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[not found] ` <469C8DDF0200005A00027AEC-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
@ 2007-07-17 16:14 ` Dor Laor
0 siblings, 0 replies; 15+ messages in thread
From: Dor Laor @ 2007-07-17 16:14 UTC (permalink / raw)
To: Gregory Haskins; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>> You're welcome to rip my ring code ;)
>
>Point me at the code, if you would. I would be happy to use it as a
>base. :)
>
It's under git://kvm.qumranet.com/home/dor/export/[kvm.git &
kvm-userspace.git]
Enojy, I hope that in a week or two (busy) I'll start sending patches
with cleanup of the
current code and starting from there integ with virtio.
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[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>
0 siblings, 1 reply; 15+ messages in thread
From: Rusty Russell @ 2007-07-17 23:42 UTC (permalink / raw)
To: Dor Laor; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, 2007-07-17 at 06:31 -0700, Dor Laor wrote:
> >Hi Rusty,
> > I was curious if there are any implementations of your virtio
> >substrate for KVM yet? And if not, I can offer help to get this done
> as
> >I have an immediate need for a ring-buffer like PV channel.
> >
> >Regards,
> >-Greg
>
> Actually I was planning of doing it. I'm maintaining our not-merged PV
> network drivers branch
> [started by Ingo Molnar].
> Since they already contain a ring + network logic I though of dropping
> the front end
> part and hooking with virtio.
> I also want to add/use virtio layer for the host side - KVM, Xen and
> lguest all have Linux host
> backend it makes logic to use a generic host drivers for
> networking/block device too.
> Actually this is my KVM forum presentation.
OK, I've been working on GSO for virtio net. I'll post once I have it
tested.
> You're welcome to rip my ring code ;)
>
> btw: Rusty - what do you think of virtio for the host?
You mean backend? For networking it makes a great deal of sense. For
block it makes far less sense (COW, weird formats, etc).
Cheers,
Rusty.
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[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:57 ` Gerd Hoffmann
1 sibling, 1 reply; 15+ messages in thread
From: Dor Laor @ 2007-07-18 6:49 UTC (permalink / raw)
To: Rusty Russell; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>On Tue, 2007-07-17 at 06:31 -0700, Dor Laor wrote:
>> >Hi Rusty,
>> > I was curious if there are any implementations of your virtio
>> >substrate for KVM yet? And if not, I can offer help to get this
done
>> as
>> >I have an immediate need for a ring-buffer like PV channel.
>> >
>> >Regards,
>> >-Greg
>>
>> Actually I was planning of doing it. I'm maintaining our not-merged
PV
>> network drivers branch
>> [started by Ingo Molnar].
>> Since they already contain a ring + network logic I though of
dropping
>> the front end
>> part and hooking with virtio.
>> I also want to add/use virtio layer for the host side - KVM, Xen and
>> lguest all have Linux host
>> backend it makes logic to use a generic host drivers for
>> networking/block device too.
>> Actually this is my KVM forum presentation.
>
>OK, I've been working on GSO for virtio net. I'll post once I have it
>tested.
>
>> You're welcome to rip my ring code ;)
>>
>> btw: Rusty - what do you think of virtio for the host?
>
>You mean backend? For networking it makes a great deal of sense. For
>block it makes far less sense (COW, weird formats, etc).
I meant networking, but there are more components we can add to the
host:
- Block device can be directed into blkTap thus making the
result both flexible and zero-copy.
- backend for virtual bus that drivers virqs (or even event
channels) into the guest
- There's probably room for more
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[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>
0 siblings, 1 reply; 15+ messages in thread
From: Rusty Russell @ 2007-07-18 7:06 UTC (permalink / raw)
To: Dor Laor; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On Tue, 2007-07-17 at 23:49 -0700, Dor Laor wrote:
> >On Tue, 2007-07-17 at 06:31 -0700, Dor Laor wrote:
> >> btw: Rusty - what do you think of virtio for the host?
> >
> >You mean backend? For networking it makes a great deal of sense. For
> >block it makes far less sense (COW, weird formats, etc).
>
> I meant networking, but there are more components we can add to the
> host:
> - Block device can be directed into blkTap thus making the
> result both flexible and zero-copy.
Let's avoid the term "zero-copy" since it usually indicates that the
people in the discussion can't count. Let's further assume that kvm
changes to the lguest model where guest pages are user pages.
AFAICT the only difference between a userspace host block driver and a
kernel host block driver is now the system call overhead, and the
difficulty of doing efficient write barriers from userspace.
> - backend for virtual bus that drivers virqs (or even event
> channels) into the guest
Well, kvm is going to need some method to inject interrupts, yes.
lguest already has one, but it's going to change (Carsten wants lguest
to adopt the same userspace interface as kvm).
I'm a little confused as to what we're actually trying to discuss, to be
honest.
Cheers,
Rusty.
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[not found] ` <1184715761.10380.37.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2007-07-18 6:49 ` Dor Laor
@ 2007-07-18 7:57 ` Gerd Hoffmann
[not found] ` <469DC7F2.8050909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
1 sibling, 1 reply; 15+ messages in thread
From: Gerd Hoffmann @ 2007-07-18 7:57 UTC (permalink / raw)
To: Rusty Russell; +Cc: kvm-devel
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).
cheers,
Gerd
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[not found] ` <1184742407.10380.108.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
@ 2007-07-18 8:49 ` Avi Kivity
0 siblings, 0 replies; 15+ messages in thread
From: Avi Kivity @ 2007-07-18 8:49 UTC (permalink / raw)
To: Rusty Russell; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Rusty Russell wrote:
> On Tue, 2007-07-17 at 23:49 -0700, Dor Laor wrote:
>
>>> On Tue, 2007-07-17 at 06:31 -0700, Dor Laor wrote:
>>>
>>>> btw: Rusty - what do you think of virtio for the host?
>>>>
>>> You mean backend? For networking it makes a great deal of sense. For
>>> block it makes far less sense (COW, weird formats, etc).
>>>
>> I meant networking, but there are more components we can add to the
>> host:
>> - Block device can be directed into blkTap thus making the
>> result both flexible and zero-copy.
>>
>
> Let's avoid the term "zero-copy" since it usually indicates that the
> people in the discussion can't count.
Well, for block you can do zero copy, using O_DIRECT.
> Let's further assume that kvm
> changes to the lguest model where guest pages are user pages.
>
That's a valid assumption. The rest of the discussion doesn't depend on
it, does it?
> AFAICT the only difference between a userspace host block driver and a
> kernel host block driver is now the system call overhead, and the
> difficulty of doing efficient write barriers from userspace.
>
>
True. For mortal people setups where you have at most a few thousand
ops/sec, the overhead is negligible. In-kernel host drivers make sense
only for 100+ disks. These people are better off using blockdevs rather
than file, so an in-kernel block device need not support file-based storage.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[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>
0 siblings, 1 reply; 15+ messages in thread
From: Arnd Bergmann @ 2007-07-18 23:48 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Gerd Hoffmann
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.
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[not found] ` <200707190148.21728.arnd-r2nGTMty4D4@public.gmane.org>
@ 2007-07-19 0:02 ` Anthony Liguori
[not found] ` <469EAA2B.40307-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-07-19 2:37 ` Daniel P. Berrange
1 sibling, 1 reply; 15+ messages in thread
From: Anthony Liguori @ 2007-07-19 0:02 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Gerd Hoffmann
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[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>
0 siblings, 1 reply; 15+ messages in thread
From: Arnd Bergmann @ 2007-07-19 0:12 UTC (permalink / raw)
To: Anthony Liguori; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Gerd Hoffmann
On Thursday 19 July 2007, Anthony Liguori wrote:
> > 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.
Right. Note that I said 'most scenarios', not all ;-)
I don't understand enough about qcow to see why you can't do the same
with simple dm snapshots, but I'm sure there is a reason to have it.
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[not found] ` <200707190212.25826.arnd-r2nGTMty4D4@public.gmane.org>
@ 2007-07-19 1:42 ` Anthony Liguori
2007-07-19 5:42 ` Avi Kivity
1 sibling, 0 replies; 15+ messages in thread
From: Anthony Liguori @ 2007-07-19 1:42 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Gerd Hoffmann
Arnd Bergmann wrote:
> On Thursday 19 July 2007, Anthony Liguori wrote:
>
>>> 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.
>>
>
> Right. Note that I said 'most scenarios', not all ;-)
>
> I don't understand enough about qcow to see why you can't do the same
> with simple dm snapshots, but I'm sure there is a reason to have it.
>
The other thing that you would want is "dm-file". The loopback device
has some problems with data corruption under certain scenarios. There
were patches for dm-file floating around but I haven't seen much
activity recently.
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[not found] ` <200707190148.21728.arnd-r2nGTMty4D4@public.gmane.org>
2007-07-19 0:02 ` Anthony Liguori
@ 2007-07-19 2:37 ` Daniel P. Berrange
1 sibling, 0 replies; 15+ messages in thread
From: Daniel P. Berrange @ 2007-07-19 2:37 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Gerd Hoffmann
On Thu, Jul 19, 2007 at 01:48:21AM +0200, 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.
If/when the 'DMLoop'[1] target for device mapper gets finished/merged that
could be a viable alternative to traditional loop devices
Dan.
[1] http://sources.redhat.com/lvm2/wiki/DMLoop
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: virtio implementation?
[not found] ` <200707190212.25826.arnd-r2nGTMty4D4@public.gmane.org>
2007-07-19 1:42 ` Anthony Liguori
@ 2007-07-19 5:42 ` Avi Kivity
1 sibling, 0 replies; 15+ messages in thread
From: Avi Kivity @ 2007-07-19 5:42 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Gerd Hoffmann
Arnd Bergmann wrote:
> On Thursday 19 July 2007, Anthony Liguori wrote:
>
>>> 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.
>>
>
> Right. Note that I said 'most scenarios', not all ;-)
>
> I don't understand enough about qcow to see why you can't do the same
> with simple dm snapshots, but I'm sure there is a reason to have it.
>
>
The biggest advantages of qcow over dm are that it's a file, not a block
device, so it's administrable as a user, can be transported as a file,
etc. For non-root setups, it's unbeatable.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2007-07-19 5:42 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
[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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox