mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
net: add fd_readv() handler to qemu_new_vlan_client() args
This, apparently, is the style we prefer - all VLANClientState should be an argument to qemu_new_vlan_client(). Signed-off-by: Mark McLoughlin <markmc@redhat.com>
This commit is contained in:
parent
3471b757d0
commit
463af5349a
19 changed files with 40 additions and 35 deletions
|
@ -301,8 +301,8 @@ static int net_init(struct XenDevice *xendev)
|
|||
|
||||
vlan = qemu_find_vlan(netdev->xendev.dev);
|
||||
netdev->vs = qemu_new_vlan_client(vlan, "xen", NULL,
|
||||
net_rx_packet, net_rx_ok, NULL,
|
||||
netdev);
|
||||
net_rx_ok, net_rx_packet, NULL,
|
||||
NULL, netdev);
|
||||
snprintf(netdev->vs->info_str, sizeof(netdev->vs->info_str),
|
||||
"nic: xenbus vif macaddr=%s", netdev->mac);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue