summaryrefslogtreecommitdiff
path: root/hw/virtio-net.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-02-05 17:47:15 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2013-02-08 07:37:24 -0600
commit1e89ad5b00ba0426d4e949c9e6ce2926c15b81b7 (patch)
tree35f04830c456eca62d99cf1791c9400f48a4cbda /hw/virtio-net.c
parentb890492110ccdc943554231d40b67d29fef6af82 (diff)
virtio-net: pass host features to virtio_net_init
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/virtio-net.c')
-rw-r--r--hw/virtio-net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/virtio-net.c b/hw/virtio-net.c
index e37358a40c..f1c2884384 100644
--- a/hw/virtio-net.c
+++ b/hw/virtio-net.c
@@ -1279,7 +1279,8 @@ static void virtio_net_guest_notifier_mask(VirtIODevice *vdev, int idx,
}
VirtIODevice *virtio_net_init(DeviceState *dev, NICConf *conf,
- virtio_net_conf *net)
+ virtio_net_conf *net,
+ uint32_t host_features)
{
VirtIONet *n;
int i;