[SeaBIOS] [PATCH] virtio: add struct vp_device

Michael S. Tsirkin mst at redhat.com
Mon Jun 29 10:47:04 CEST 2015

On Fri, Jun 26, 2015 at 10:46:10AM +0200, Gerd Hoffmann wrote:
>   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

You could use the config capability if you wanted
to, though that multiplies the cost of each access
by a factor of ~4.

I noticed that QEMU doesn't support it but it must, I'll fix it up now.


More information about the SeaBIOS mailing list