Skip to contentSkip to conversation

virtio over PCI

DISCUSSION Arnd Bergmann 2 participants 2 messages Mar 3, 2010 – Mar 4, 2010 1 message not in the archive virtio core

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1267596588.7814.159.camel@concordia

#1 lore raw
Quoted 8 lines · Michael Ellerman

Hi guys,

I was looking around at virtio over PCI stuff and noticed you had started some work on a driver. The last I can find via google is v2 from mid last year, is that as far as it got?

http://lkml.org/lkml/2009/2/23/353

Yep, that is pretty much as far as I got. It was more-or-less rejected because I hooked two instances of virtio-net together, rather than having a proper backend and using virtio-net as the frontend.

I got started on writing a backend, which was never posted to LKML because I never finished it. Feel free to take the code and use it to start your own project. Note that vhost-net exists now, and is an in-kernel backend for virtio-net. It *may* be possible to use this, rather than writing a userspace backend as I started to do.
http://www.mmarray.org/~iws/virtio-phys/

I also got started with the alacrityvm project, developing a driver for their virtualization framework. That project is nowhere near finished. The virtualization folks basically told GHaskins (alacrityvm author) that alacrityvm wouldn't ever make it to mainline Linux.
http://www.mmarray.org/~iws/vbus/

Unfortunately, I've been pulled onto other projects for the time being. However, I'd really like to be able to use a virtio-over-PCI style driver, rather than relying on my own custom (slow, unoptimized) network driver (PCINet).

If you get something mostly working (and mostly agreed upon by the virtualization guys), I will make the time to test it and get it cleaned up. I've had 10+ people email me privately about this kind of driver now. It is an area where Linux is sorely lacking.

I'm happy to provide any help I can, including testing on MPC8349EA-based system. I would suggest talking to the virtualization mailing list before you get too deep in the project. They sometimes have good advice. I've added them to the CC list, so maybe they can comment.
https://lists.linux-foundation.org/mailman/listinfo/virtualization

Good luck, and let me know if I can help.
Ira

#2 lore raw
Quoted 5 lines · Ira W. Snyder

I'm happy to provide any help I can, including testing on MPC8349EA-based system. I would suggest talking to the virtualization mailing list before you get too deep in the project. They sometimes have good advice. I've added them to the CC list, so maybe they can comment.
https://lists.linux-foundation.org/mailman/listinfo/virtualization

You may also want to get together with Mark Purcell (if you are not already working with him). He may be working on the same hardware that you are interested in, just guessing ;-).

Arnd