Re: [kvm-devel] virtio implementation?

2007-07-18 Thread Dor Laor
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

Re: [kvm-devel] virtio implementation?

2007-07-18 Thread Gerd Hoffmann
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

Re: [kvm-devel] virtio implementation?

2007-07-18 Thread Avi Kivity
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

Re: [kvm-devel] virtio implementation?

2007-07-18 Thread Arnd Bergmann
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

Re: [kvm-devel] virtio implementation?

2007-07-18 Thread Anthony Liguori
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

Re: [kvm-devel] virtio implementation?

2007-07-18 Thread Arnd Bergmann
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

Re: [kvm-devel] virtio implementation?

2007-07-18 Thread Anthony Liguori
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

Re: [kvm-devel] virtio implementation?

2007-07-18 Thread Avi Kivity
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

[kvm-devel] virtio implementation?

2007-07-17 Thread Gregory Haskins
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 -

Re: [kvm-devel] virtio implementation?

2007-07-17 Thread Dor Laor
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

Re: [kvm-devel] virtio implementation?

2007-07-17 Thread Gregory Haskins
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

Re: [kvm-devel] virtio implementation?

2007-07-17 Thread Dor Laor
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