[SeaBIOS] [PATCH] virtio: add struct vp_device

Gerd Hoffmann kraxel at redhat.com
Fri Jun 26 10:46:10 CEST 2015


  Hi,

> > It sounds like this patch is in preparation for some other patches.
> > It would help to see those other patches as well.
> 
> Yes.  Still coding though ...

Patch series adds support for virtio-1.0.  Still in progress.
virtio-scsi works now (tested using live iso boot), so I've pushed a
sneak preview:

https://www.kraxel.org/cgit/seabios/log/?h=virtio

Patches are in very small pieces, I probably squash them a bit before
posting to the list, especially the ones adding virtio 1.0 #defines and
structs to the headers.

They also need cleanups.  I carefully added loads of GET_LOWFLAT()
macros.  After doing so I've noticed I have to run this in 32bit mode
anyway because otherwise readl+friends don't work ...

They have some verbose debug output atm.

virtio-blk is still to be done.

enjoy,
  Gerd





More information about the SeaBIOS mailing list