about virtio driver porting from FreeBSD

Pratyush Kshirsagar pratyush.kshirsagar at gmail.com
Sun Feb 27 17:43:26 PST 2011

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 <stephanie at minet.net>


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 ?

Thanks !



-------------- next part --------------
A non-text attachment was scrubbed...
Name: gz00000.gz
Type: application/octet-stream
Size: 294738 bytes
Desc: "Description: GNU Zip compressed data"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20110227/798145cf/attachment-0020.obj>

More information about the Kernel mailing list