LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v3 0/6] virtio 1.0 enhancements
@ 2014-12-08 13:05 Michael S. Tsirkin
  2014-12-08 13:05 ` [PATCH v3 1/6] virtio: add API to detect legacy devices Michael S. Tsirkin
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Michael S. Tsirkin @ 2014-12-08 13:05 UTC (permalink / raw)
  To: linux-kernel; +Cc: dahi, cornelia.huck, Rusty Russell, virtualization

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/1417449619-24896-1-git-send-email-mst@redhat.com

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(-)

-- 
MST


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-12-10  8:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-08 13:05 [PATCH v3 0/6] virtio 1.0 enhancements Michael S. Tsirkin
2014-12-08 13:05 ` [PATCH v3 1/6] virtio: add API to detect legacy devices Michael S. Tsirkin
2014-12-08 13:05 ` [PATCH v3 2/6] virtio_ccw: legacy: don't negotiate rev 1/features Michael S. Tsirkin
2014-12-09 10:35   ` Cornelia Huck
2014-12-08 13:05 ` [PATCH v3 3/6] virtio: allow finalize_features to fail Michael S. Tsirkin
2014-12-09 10:46   ` Cornelia Huck
2014-12-09 12:07     ` Michael S. Tsirkin
2014-12-09 12:56       ` Cornelia Huck
2014-12-08 13:06 ` [PATCH v3 4/6] virtio_ccw: rev 1 devices set VIRTIO_F_VERSION_1 Michael S. Tsirkin
2014-12-09 11:01   ` Cornelia Huck
2014-12-09 12:21     ` Michael S. Tsirkin
2014-12-09 17:23       ` Cornelia Huck
2014-12-09 18:55         ` Michael S. Tsirkin
2014-12-09 19:40         ` Michael S. Tsirkin
2014-12-10  8:41           ` Cornelia Huck
2014-12-08 13:06 ` [PATCH v3 5/6] virtio_balloon: drop legacy_only driver flag Michael S. Tsirkin
2014-12-09 11:24   ` Cornelia Huck
2014-12-08 13:06 ` [PATCH v3 6/6] virtio: " Michael S. Tsirkin
2014-12-09 11:24   ` Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).