mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -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
|
@ -3475,7 +3475,7 @@ static void pci_rtl8139_init(PCIDevice *dev)
|
|||
qdev_get_macaddr(&dev->qdev, s->macaddr);
|
||||
rtl8139_reset(s);
|
||||
s->vc = qdev_get_vlan_client(&dev->qdev,
|
||||
rtl8139_receive, rtl8139_can_receive,
|
||||
rtl8139_can_receive, rtl8139_receive, NULL,
|
||||
rtl8139_cleanup, s);
|
||||
|
||||
qemu_format_nic_info_str(s->vc, s->macaddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue