qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] virtio-net: spec compatibility fix
@ 2016-11-04 11:01 Michael S. Tsirkin
  2016-11-04 11:01 ` [Qemu-devel] [PATCH 1/2] virtio: allow per-device-class legacy features Michael S. Tsirkin
  2016-11-04 11:01 ` [Qemu-devel] [PATCH 2/2] virtio-net: mark VIRTIO_NET_F_GSO as legacy Michael S. Tsirkin
  0 siblings, 2 replies; 10+ messages in thread
From: Michael S. Tsirkin @ 2016-11-04 11:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jason Wang, dgilbert

Virtio 1.0 spec lists VIRTIO_NET_F_GSO as a legacy-only flag,
by mistake we exposed it on the modern interface too, this
is a spec violation.

I decided it's not worth it to implement a compatibility bit here as we already
shipped virtio 1.0 support, we want to fix compatibility for old machine types
too.  While changing feature bits under guest's feet might be surprising, the
spec doesn't exactly say it's illegal.

Michael S. Tsirkin (2):
  virtio: allow per-device-class legacy features
  virtio-net: mark VIRTIO_NET_F_GSO as legacy

 include/hw/virtio/virtio.h | 5 +++++
 hw/net/virtio-net.c        | 1 +
 hw/s390x/virtio-ccw.c      | 4 +++-
 hw/virtio/virtio-pci.c     | 4 +++-
 hw/virtio/virtio.c         | 2 ++
 5 files changed, 14 insertions(+), 2 deletions(-)

-- 
MST

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

end of thread, other threads:[~2016-11-07 19:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-04 11:01 [Qemu-devel] [PATCH 0/2] virtio-net: spec compatibility fix Michael S. Tsirkin
2016-11-04 11:01 ` [Qemu-devel] [PATCH 1/2] virtio: allow per-device-class legacy features Michael S. Tsirkin
2016-11-04 11:32   ` Cornelia Huck
2016-11-07  9:11   ` Jason Wang
2016-11-04 11:01 ` [Qemu-devel] [PATCH 2/2] virtio-net: mark VIRTIO_NET_F_GSO as legacy Michael S. Tsirkin
2016-11-04 11:37   ` Cornelia Huck
2016-11-07  9:11   ` Jason Wang
2016-11-07 15:38   ` Dr. David Alan Gilbert
2016-11-07 19:43     ` Halil Pasic
2016-11-07 19:25   ` Halil Pasic

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