Virtio-net pci device info

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Virtio-net pci device info

Post 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.
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Kevin
Member
Member
Posts: 1071
Joined: Sun Feb 01, 2009 6:11 am
Location: Germany
Contact:

Re: Virtio-net pci device info

Post by Kevin »

In theory everything should be described in the spec: http://ozlabs.org/~rusty/virtio-spec/virtio-0.9.5.pdf
Developer of tyndur - community OS of Lowlevel (German)
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Re: Virtio-net pci device info

Post 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.
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
Post Reply