Page 1 of 1

Virtio-net pci device info

Posted: Fri Jun 22, 2012 2:53 pm
by SpyderTL
I am currently working on adding support for the virtio-net network device, and I'm looking for some documentation that will get me started. I don't see any virtio pages on the osdev wiki, and all of the documentation and source code that I can find is written in c, and does not contain any "hardware" details (i/o ports, registers, etc).

I'm thinking about adding a virtio page, but I thought that I'd check and see if anyone had any expertise in this area before I got started.

Thanks.

Re: Virtio-net pci device info

Posted: Fri Jun 22, 2012 3:59 pm
by Kevin
In theory everything should be described in the spec: http://ozlabs.org/~rusty/virtio-spec/virtio-0.9.5.pdf

Re: Virtio-net pci device info

Posted: Sat Jun 23, 2012 12:53 am
by SpyderTL
Perfect! That was exactly what I was looking for.

Not sure why Google couldn't find that.

And that document isn't the most helpful documentation that I've ever seen, but I think I've decoded enough of it to get started. Once I get a little more comfortable with the code, I'm definately going to add a wiki page for virtio.

Thanks for the help.