DragonFly kernel List (threaded) for 2011-02
Re: about virtio driver porting from FreeBSD
Yes, you are right but I did some work porting virtio network driver from NetBSD before we moved forward to port it from FreeBSD.
Attached is the partly done code.
The other basic calls needed for block and network drivers are kept same by Tim and me so that we don't do lot of cleaning and book keeping stuff.
The working code is in "net" directory and not the nbsd_code.
you need to make the outer dir and then the do make in net.
use kldload -v ./virtio.ko followed by kldload -v ./virtio_net.ko
Thus when you use dmesg it will show the messages during the netword device probe and attach() with the network device number/id.
You can mail me for further information.
- Pratyush Kshirsagar.
2011/2/27 Stéphanie Ouillon <email@example.com>
I've read the posts on the DragonFly BSD Digest site about virtio, but I have some questions about it.
A virtual network driver was ported from NetBSD, using some FreeBSD code that wasn't supposed to be public under a BSD license. So for the moment, the code that is published on gitorious (http://gitorious.org/virtio-drivers/virtio-drivers/trees/master) can't be used at all ? Can somebody tell me more about that ?
Description: GNU Zip compressed data