[SLOF] [PATCH v2 00/19] Generic virtio 1.0 with block and network support
Nikunj A Dadhania
nikunj at linux.vnet.ibm.com
Wed Jan 20 23:10:14 AEDT 2016
Following patch series enables virtio 1.0 support in SLOF.
Currently, two drivers are supported virtio-blk and virtio-net.
Patches are organised in following order:
01-10: Generic fixes, code improvements and re-organization
11-16: Enables generic virtio 1.0 functionality
17-18: Converts virtio-blk and virtio-net drivers to 1.0
19: Enables modern devices (device ids > 1041)
Changelog:
v1:
* Patch re-organisation as suggested by alexey
* Separated out coding style changes and code re-organization
* Feature negotiation now sets and checks FEATURES_OK bit
* Added virtio_get_status for feature negotiation
* Added missing notify_off_mul in SLOF virtio_device structure
* virtio-net - net_hdr_size was missing at one place
* squashed all the api conversion to one single patch
* Introduced and enabled virtio_parse_capabilities in
one single patch. Also, disabled is_modern until the
driver is ready.
ToDo:
* Convert virtio-scsi and virtio-9p drivers
Nikunj A Dadhania (19):
pci: add byte read/write helper routines
fix code style in byteorder.h
virtio: fix code style/design issues.
virtio: introduce helper for initializing virt queue
virtio-{blk,9p}: enable resetting the device
virtio-blk: add helpers for filling descriptors
virtio-{net,blk,scsi,9p}: use status variable
virtio-net: simplify and cleanup driver
virtio-net: make net_hdr_size a variable
virtio-net: move setup-mac to the open routine
virtio: add virtio 1.0 related struct and defines
virtio: add 64-bit virtio helpers for 1.0
virtio: make all virtio apis 1.0 aware
virtio: 1.0 features set/get register accessor
virtio: 1.0 guest features negotiation
virtio: add and enable 1.0 capability parsing
virtio-blk: enable virtio 1.0
virtio-net: enable virtio 1.0
virtio: support virtio 1.0 only device ids
board-qemu/slof/pci-device_1af4_1001.fs | 9 -
board-qemu/slof/pci-device_1af4_1009.fs | 9 -
board-qemu/slof/virtio-net.fs | 22 +-
board-qemu/slof/virtio.fs | 18 ++
include/byteorder.h | 22 +-
include/helpers.h | 2 +
lib/libvirtio/virtio-9p.c | 28 +-
lib/libvirtio/virtio-blk.c | 125 ++++++---
lib/libvirtio/virtio-net.c | 240 +++++++++-------
lib/libvirtio/virtio-net.h | 12 -
lib/libvirtio/virtio-scsi.c | 163 +++++------
lib/libvirtio/virtio.c | 476 ++++++++++++++++++++++++++++----
lib/libvirtio/virtio.code | 6 +
lib/libvirtio/virtio.h | 57 +++-
lib/libvirtio/virtio.in | 2 +
slof/fs/pci-device.fs | 9 +-
slof/helpers.c | 14 +
17 files changed, 872 insertions(+), 342 deletions(-)
--
2.5.0
More information about the SLOF
mailing list