aboutsummaryrefslogtreecommitdiff
path: root/hw/xen_nic.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xen_nic.c')
-rw-r--r--hw/xen_nic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen_nic.c b/hw/xen_nic.c
index e4f71f7f63..4377ed15d6 100644
--- a/hw/xen_nic.c
+++ b/hw/xen_nic.c
@@ -301,7 +301,7 @@ static int net_init(struct XenDevice *xendev)
if (netdev->mac == NULL)
return -1;
- vlan = qemu_find_vlan(netdev->xendev.dev);
+ vlan = qemu_find_vlan(netdev->xendev.dev, 1);
netdev->vs = qemu_new_vlan_client(vlan, "xen", NULL,
net_rx_ok, net_rx_packet, NULL,
NULL, netdev);