virtio: add version 1.0 support, move to 32bit
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest25 patches 2 repliesIn review
- v222 patches 16 repliesSuperseded
- v118 patches 15 repliesSuperseded
Changes in v3 from the cover letter
* change vp_device allocation.
* fix capability detection.
* add some cleanup patches (drop MAKESEGMENT and GET_* macros).
* allocate virt queues in high memory.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/25 | pci: allow to loop over capabilitiessrc/ src/ src/ | +11 | 0 replies | |
| 2/25 | virtio: run drivers in 32bit modeMakefile src/ src/ +1 more | +10 | 0 replies | |
| 3/25 | virtio: add struct vp_devicesrc/ src/ src/ +3 more | +68 | 0 replies | |
| 4/25 | virtio: pass struct pci_device to vp_init_simplesrc/ src/ src/ +1 more | +7 | 0 replies | |
| 5/25 | virtio: add version 1.0 structs and #definessrc/ src/ | +66 | 0 replies | |
| 6/25 | virtio: add version 0.9.5 structsrc/ | +14 | 0 replies | |
| 7/25 | virtio: find version 1.0 virtio capabilitiessrc/ src/ | +64 | 0 replies | |
| 8/25 | virtio: create vp_cap struct for legacy barsrc/ src/ | +5 | 0 replies | |
| 9/25 | virtio: add read/write functions and macrossrc/ | +86 | 0 replies | |
| 10/25 | virtio: make features 64bit, support version 1.0 featuressrc/ src/ src/ | +37 | 0 replies | |
| 11/25 | virtio: add version 1.0 support to vp_{get, set}_statussrc/ src/ | +22 | 0 replies | |
| 12/25 | virtio: add version 1.0 support to vp_get_isrsrc/ src/ | +10 | 0 replies | |
| 13/25 | virtio: add version 1.0 support to vp_resetsrc/ src/ | +12 | 0 replies | |
| 14/25 | virtio: add version 1.0 support to vp_notifysrc/ src/ src/ +1 more | +25 | 0 replies | |
| 15/25 | virtio: remove unused vp_del_vqsrc/ | +0 | 0 replies | |
| 16/25 | virtio: add version 1.0 support to vp_find_vqsrc/ | +43 | 0 replies | |
| 17/25 | virtio-scsi: fix initialization for version 1.0src/ | +23 | 0 replies | |
| 18/25 | virtio-blk: fix initialization for version 1.0src/ src/ | +72 | 0 replies | |
| 19/25 | virtio: use version 1.0 if available (flip the big switch)src/ | +10 | 0 replies | |
| 20/25 | virtio: also probe version 1.0 pci idssrc/ src/ src/ | +12 | 0 replies | |
| 21/25 | virtio: legacy cleanupsrc/ src/ | +1 | 0 replies | |
| 22/25 | virtio-blk: 32bit cleanupsrc/ | +4 | 0 replies | |
| 23/25 | virtio-scsi: 32bit cleanupsrc/ | +6 | 0 replies | |
| 24/25 | virtio-ring: 32bit cleanupsrc/ | +30 | 0 replies | |
| 25/25 | virtio-pci: use high memory for ringssrc/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [Qemu-devel] [PATCH v3 00/25] virtio: add version 1.0 support, move to 32bit
Hi,
This patch series adds virtio 1.0 support to the virtio blk and scsi drivers in seabios. With this series applied seabios happily boots in virtio 1.0 mode from both transitional and modern devices. This series also moves all virtio code to 32bit.
Tested with Fedora 22 guest, booting from virtio-scsi cdrom (live iso), virtio-scsi disk and virtio-blk disk.
The patches are also available in the git repository at:
git://git.kraxel.org/seabios virtio
v3 changes:
* change vp_device allocation.
* fix capability detection.
* add some cleanup patches (drop MAKESEGMENT and GET_* macros).
* allocate virt queues in high memory.
v2 changes:
* rename vp_modern_{read_write} to vp_{read,write}
* switch legacy virtio code to vp_{read,write} too.
* make vp_read return the values.
Gerd Hoffmann (25):
pci: allow to loop over capabilities
virtio: run drivers in 32bit mode
virtio: add struct vp_device
virtio: pass struct pci_device to vp_init_simple
virtio: add version 1.0 structs and #defines
virtio: add version 0.9.5 struct
virtio: find version 1.0 virtio capabilities
virtio: create vp_cap struct for legacy bar
virtio: add read/write functions and macros
virtio: make features 64bit, support version 1.0 features
virtio: add version 1.0 support to vp_{get,set}_status
virtio: add version 1.0 support to vp_get_isr
virtio: add version 1.0 support to vp_reset
virtio: add version 1.0 support to vp_notify
virtio: remove unused vp_del_vq
virtio: add version 1.0 support to vp_find_vq
virtio-scsi: fix initialization for version 1.0
virtio-blk: fix initialization for version 1.0
virtio: use version 1.0 if available (flip the big switch)
virtio: also probe version 1.0 pci ids
virtio: legacy cleanup
virtio-blk: 32bit cleanup
virtio-scsi: 32bit cleanup
virtio-ring: 32bit cleanup
virtio-pci: use high memory for rings
Makefile | 2 +- src/block.c | 8 +- src/fw/pciinit.c | 4 +- src/hw/blockcmd.c | 5 +- src/hw/pci.c | 11 ++- src/hw/pci.h | 2 +- src/hw/pci_ids.h | 8 +- src/hw/virtio-blk.c | 112 ++++++++++++++++------- src/hw/virtio-pci.c | 228 +++++++++++++++++++++++++++++++++++++++++----- src/hw/virtio-pci.h | 252 ++++++++++++++++++++++++++++++++++++--------------- src/hw/virtio-ring.c | 65 +++++++------ src/hw/virtio-ring.h | 9 +- src/hw/virtio-scsi.c | 75 ++++++++++----- 13 files changed, 582 insertions(+), 199 deletions(-)
Signature · 1 line
1.8.3.1