diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-05 17:47:15 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-02-08 07:37:24 -0600 |
commit | 1e89ad5b00ba0426d4e949c9e6ce2926c15b81b7 (patch) | |
tree | 35f04830c456eca62d99cf1791c9400f48a4cbda /hw/s390x/virtio-ccw.c | |
parent | b890492110ccdc943554231d40b67d29fef6af82 (diff) | |
download | qemu-1e89ad5b00ba0426d4e949c9e6ce2926c15b81b7.tar.gz qemu-1e89ad5b00ba0426d4e949c9e6ce2926c15b81b7.tar.bz2 qemu-1e89ad5b00ba0426d4e949c9e6ce2926c15b81b7.zip |
virtio-net: pass host features to virtio_net_init
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/s390x/virtio-ccw.c')
-rw-r--r-- | hw/s390x/virtio-ccw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index 231f81e48c..d92e42735c 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -555,7 +555,8 @@ static int virtio_ccw_net_init(VirtioCcwDevice *dev) { VirtIODevice *vdev; - vdev = virtio_net_init((DeviceState *)dev, &dev->nic, &dev->net); + vdev = virtio_net_init((DeviceState *)dev, &dev->nic, &dev->net, + dev->host_features[0]); if (!vdev) { return -1; } |