]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-net: mark VIRTIO_NET_F_GSO as legacy
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 4 Nov 2016 10:27:52 +0000 (12:27 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 8 Dec 2016 19:50:54 +0000 (13:50 -0600)
commitf1372d6e1489d01f3accbd6a3e5c4d45fa27ed45
tree1c2b34dbe030bc0be5307793b9dd2f0906465c39
parent63087cd74bb16f867a5c6264ee4d86f5989c895b
virtio-net: mark VIRTIO_NET_F_GSO as legacy

virtio 1.0 spec says this is a legacy feature bit,
hide it from guests in modern mode.

Note: for cross-version migration compatibility,
we keep the bit set in host_features.
The result will be that a guest migrating cross-version
will see host features change under it.
As guests only seem to read it once, this should
not be an issue. Meanwhile, will work to fix guests to
ignore this bit in virtio1 mode, too.

Cc: qemu-stable@nongnu.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
(cherry picked from commit 2a083ffd2e37ef08769749a5c7cfc6ca65c9f8ea)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/net/virtio-net.c