RFC qemu: towards virtio-1 host support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 RFC Latest20 patches 68 repliesIn review
- v5 RFC posting 2/219 patches 20 repliesSuperseded
- v5 RFC posting 1/20 of 19 patches 0 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 RFC | 16 patches | 20 replies | Superseded | |
| v3 RFC | 12 patches | 8 replies | Superseded | |
| v2 RFC posting 2/2 | 12 patches | 6 replies | Superseded | |
| v2 RFC posting 1/2 | 0 of 12 patches | 0 replies | Superseded | |
| v1 RFC | 11 patches | 28 replies | Superseded |
Changes in v6 from the cover letter
- fixed stupid bug in "virtio: support more feature bits": we need to define a proper prop backend for 64 bit wide handling...
- don't negotiate revision 1 unless VERSION_1 is offered
- use 64 bit wide features in the whole of vhost (patch can probably be merged into the 64 bit extension for the rest of the code)
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/20 | linux-headers/virtio_config: Update with VIRTIO_F_VERSION_1linux-headers/ | +3 | 0 replies | |
| 2/20 | virtio: cull virtio_bus_set_vdev_featureshw/ hw/ include/ | +1 | 1 reply | |
| 3/20 | virtio: feature bit manipulation helpershw/ hw/ hw/ +5 more | +44 | 3 replies | |
| 4/20 | virtio: add feature checking helpershw/ hw/ hw/ +5 more | +42 | 7 replies | |
| 5/20 | virtio: support more feature bitshw/ hw/ hw/ +20 more | +184 | 10 replies | |
| 6/20 | virtio: endianness checks for virtio 1.0 deviceshw/ include/ include/ | +15 | 4 replies | |
| 7/20 | virtio: allow virtio-1 queue layouthw/ hw/ include/ | +40 | 4 replies | |
| 8/20 | dataplane: allow virtio-1 deviceshw/ hw/ hw/ +4 more | +131 | 4 replies | |
| 9/20 | s390x/css: Add a callback for when subchannel gets disabledhw/ hw/ | +13 | 1 reply | |
| 10/20 | s390x/virtio-ccw: add virtio set-revision callhw/ hw/ | +60 | 5 replies | |
| 11/20 | s390x/virtio-ccw: support virtio-1 set_vq formathw/ | +80 | 1 reply | |
| 12/20 | virtio: disallow late feature changes for virtio-1hw/ include/ | +16 | 5 replies | |
| 13/20 | virtio: allow to fail setting statushw/ hw/ include/ | +37 | 5 replies | |
| 14/20 | s390x/virtio-ccw: enable virtio 1.0hw/ | +1 | 1 reply | |
| 15/20 | virtio-net: no writeable mac for virtio-1hw/ | +1 | 2 replies | |
| 16/20 | virtio-net: support longer headerhw/ | +15 | 2 replies | |
| 17/20 | virtio-net: enable virtio 1.0hw/ | +1 | 2 replies | |
| 18/20 | virtio: support revision-specific featureshw/ hw/ include/ +1 more | +28 | 6 replies | |
| 19/20 | virtio-blk: revision specific feature bitshw/ | +19 | 5 replies | |
| 20/20 | vhost: 64 bit featureshw/ hw/ include/ +1 more | +18 | 0 replies |
Reviews trailers per patch
11 of 20 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth | Stefan Hajnoczi | David Gibson |
|---|---|---|---|
| 1/20 | |||
| 2/20 | R-b | R-b | |
| 3/20 | R-b R-b | R-b | |
| 4/20 | R-b R-b | ||
| 5/20 | |||
| 6/20 | R-b | ||
| 7/20 | |||
| 8/20 | R-b | ||
| 9/20 | R-b | ||
| 10/20 | R-b | ||
| 11/20 | R-b | R-b | |
| 12/20 | R-b | R-b | |
| 13/20 | |||
| 14/20 | R-b | ||
| 15/20 | R-b | ||
| 16/20 | |||
| 17/20 | |||
| 18/20 | |||
| 19/20 | |||
| 20/20 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Qemu-devel] [PATCH RFC v6 00/20] qemu: towards virtio-1 host support
And yet another iteration of virtio-1 support in qemu, tested with the latest virtio kernel patches. Find it at
git://github.com/cohuck/qemu virtio-1
Changes from v5:
- fixed stupid bug in "virtio: support more feature bits": we need to define a proper prop backend for 64 bit wide handling...
- don't negotiate revision 1 unless VERSION_1 is offered
- use 64 bit wide features in the whole of vhost (patch can probably be merged into the 64 bit extension for the rest of the code)
The bug I suspected in the revision-specific feature handling turned out to be a messup on my side. There still seems to be something missing for vhost-net to support virtio-1.
Cornelia Huck (17):
virtio: cull virtio_bus_set_vdev_features
virtio: feature bit manipulation helpers
virtio: add feature checking helpers
virtio: support more feature bits
virtio: endianness checks for virtio 1.0 devices
virtio: allow virtio-1 queue layout
dataplane: allow virtio-1 devices s390x/virtio-ccw: support virtio-1 set_vq format
virtio: disallow late feature changes for virtio-1
virtio: allow to fail setting status s390x/virtio-ccw: enable virtio 1.0
virtio-net: no writeable mac for virtio-1
virtio-net: support longer header
virtio-net: enable virtio 1.0
virtio: support revision-specific features
virtio-blk: revision specific feature bits
vhost: 64 bit features
Thomas Huth (3):
linux-headers/virtio_config: Update with VIRTIO_F_VERSION_1 s390x/css: Add a callback for when subchannel gets disabled s390x/virtio-ccw: add virtio set-revision call
hw/9pfs/virtio-9p-device.c | 4 +- hw/block/dataplane/virtio-blk.c | 4 +- hw/block/virtio-blk.c | 44 +++-- hw/char/virtio-serial-bus.c | 6 +- hw/core/qdev-properties.c | 58 ++++++ hw/net/vhost_net.c | 12 +- hw/net/virtio-net.c | 100 ++++++----- hw/s390x/css.c | 12 ++ hw/s390x/css.h | 1 + hw/s390x/s390-virtio-bus.c | 3 +- hw/s390x/s390-virtio-bus.h | 2 +- hw/s390x/virtio-ccw.c | 234 ++++++++++++++++++------- hw/s390x/virtio-ccw.h | 13 +- hw/scsi/vhost-scsi.c | 3 +- hw/scsi/virtio-scsi-dataplane.c | 2 +- hw/scsi/virtio-scsi.c | 12 +- hw/virtio/Makefile.objs | 2 +- hw/virtio/dataplane/Makefile.objs | 2 +- hw/virtio/dataplane/vring.c | 96 +++++----- hw/virtio/vhost.c | 14 +- hw/virtio/virtio-balloon.c | 4 +- hw/virtio/virtio-bus.c | 24 ++- hw/virtio/virtio-mmio.c | 9 +- hw/virtio/virtio-pci.c | 7 +- hw/virtio/virtio-pci.h | 2 +- hw/virtio/virtio-rng.c | 2 +- hw/virtio/virtio.c | 120 +++++++++---- include/hw/qdev-properties.h | 12 ++ include/hw/virtio/dataplane/vring-accessors.h | 75 ++++++++ include/hw/virtio/dataplane/vring.h | 14 +- include/hw/virtio/vhost.h | 6 +- include/hw/virtio/virtio-access.h | 4 + include/hw/virtio/virtio-bus.h | 14 +- include/hw/virtio/virtio-net.h | 46 ++--- include/hw/virtio/virtio-scsi.h | 6 +- include/hw/virtio/virtio.h | 62 +++++-- include/net/vhost_net.h | 4 +- linux-headers/linux/virtio_config.h | 3 + 38 files changed, 727 insertions(+), 311 deletions(-) create mode 100644 include/hw/virtio/dataplane/vring-accessors.h
Signature · 1 line
1.7.9.5