diff options
| author | Jason Wang <jasowang@redhat.com> | 2015-07-13 13:46:50 +0800 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2015-07-13 14:42:24 +0300 |
| commit | 06c4670ff6d4acdc5a24e3d25748ee4a489d5869 (patch) | |
| tree | c38d144a4c173fc7f6505da28855da6e44bd02b4 /hw/net/virtio-net.c | |
| parent | 2a6391232fa58f32469fb61d55343eff32a91083 (diff) | |
| download | focaccia-qemu-06c4670ff6d4acdc5a24e3d25748ee4a489d5869.tar.gz focaccia-qemu-06c4670ff6d4acdc5a24e3d25748ee4a489d5869.zip | |
Revert "virtio-net: enable virtio 1.0"
This reverts commit df91055db5c9cee93d70ca8c08d72119a240b987. This is because: - vhost support virtio 1.0 now - transport code (e.g virtio-pci) set this feature when modern is enabled, setting this unconditionally will break disable-modern=on. Cc: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
| -rw-r--r-- | hw/net/virtio-net.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index d7282335de..e3c2db3250 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -466,7 +466,6 @@ static uint64_t virtio_net_get_features(VirtIODevice *vdev, uint64_t features) } if (!get_vhost_net(nc->peer)) { - virtio_add_feature(&features, VIRTIO_F_VERSION_1); return features; } return vhost_net_get_features(get_vhost_net(nc->peer), features); |