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/s390-virtio-bus.c | |
parent | b890492110ccdc943554231d40b67d29fef6af82 (diff) |
virtio-net: pass host features to virtio_net_init
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/s390x/s390-virtio-bus.c')
-rw-r--r-- | hw/s390x/s390-virtio-bus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/s390x/s390-virtio-bus.c b/hw/s390x/s390-virtio-bus.c index d4677814ca..089ed92006 100644 --- a/hw/s390x/s390-virtio-bus.c +++ b/hw/s390x/s390-virtio-bus.c @@ -153,7 +153,8 @@ static int s390_virtio_net_init(VirtIOS390Device *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); if (!vdev) { return -1; } |