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


Reply via email to