Skip to content

virtio 1.0 enhancements

Michael S. Tsirkin linux-s390 lkml virtualization 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 12 repliesIn review
  2. v2 RFC4 patches 2 repliesSuperseded
  3. v1 RFC3 patches 6 repliesSuperseded

Changes in v3 from the cover letter

Check finalize_features return status on resume.
This shouldn't normally fail, but checking can't hurt.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6virtio: add API to detect legacy devicesdrivers/virtio/virtio.c include/linux/virtio.h+9 -00 replies
2/6virtio_ccw: legacy: don't negotiate rev 1/featuresdrivers/s390/kvm/virtio_ccw.c+13 -31 reply
3/6virtio: allow finalize_features to faildrivers/lguest/lguest_device.c drivers/misc/mic/card/mic_virtio.c drivers/remoteproc/remoteproc_virtio.c +6 more+38 -163 replies
3/6virtio: allow finalize_features to faildrivers/lguest/lguest_device.c drivers/misc/mic/card/mic_virtio.c drivers/remoteproc/remoteproc_virtio.c +6 more+38 -160 replies
4/6virtio_ccw: rev 1 devices set VIRTIO_F_VERSION_1drivers/s390/kvm/virtio_ccw.c+7 -06 replies
5/6virtio_balloon: drop legacy_only driver flagdrivers/virtio/virtio_balloon.c+0 -11 reply
6/6virtio: drop legacy_only driver flagdrivers/virtio/virtio.c include/linux/virtio.h+0 -61 reply

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by.

PatchCornelia Huck
1/6A-b
2/6R-b
3/6
3/6
4/6
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/6] virtio 1.0 enhancements

These are minor robustness enhancements on top of v8 of the patchset
[PATCH v8 00/50] linux: towards virtio-1 guest support
http://mid.gmane.org/[email protected]

As that one seems stable and actually seems to work well for people, I'm not respinning it anymore.

The main motivation is to prevent us accidentally supporting
bad configurations, such as legacy balloon on top of
virtio 1.0 transport.
The point is that if we happen to support them mistakenly, we'll have trouble backing out in future. This will also help make sure hypervisors don't do silly things.

Changes from v2:
Check finalize_features return status on resume.
This shouldn't normally fail, but checking can't hurt.

Michael S. Tsirkin (6):
virtio: add API to detect legacy devices
virtio_ccw: legacy: don't negotiate rev 1/features
virtio: allow finalize_features to fail
virtio_ccw: rev 1 devices set VIRTIO_F_VERSION_1
virtio_balloon: drop legacy_only driver flag
virtio: drop legacy_only driver flag

 include/linux/virtio.h                 |  4 ++--
 include/linux/virtio_config.h          |  3 ++-
 drivers/lguest/lguest_device.c         |  4 +++-
 drivers/misc/mic/card/mic_virtio.c     |  4 +++-
 drivers/remoteproc/remoteproc_virtio.c |  4 +++-
 drivers/s390/kvm/kvm_virtio.c          |  4 +++-
 drivers/s390/kvm/virtio_ccw.c          | 29 ++++++++++++++++++++++++-----
 drivers/virtio/virtio.c                | 32 +++++++++++++++++++++-----------
 drivers/virtio/virtio_balloon.c        |  1 -
 drivers/virtio/virtio_mmio.c           |  4 +++-
 drivers/virtio/virtio_pci.c            |  4 +++-
 11 files changed, 67 insertions(+), 26 deletions(-)
Signature · 1 line
MST