mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34: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
|
@ -1766,7 +1766,7 @@ static void nic_init(PCIDevice *pci_dev, uint32_t device)
|
|||
nic_reset(s);
|
||||
|
||||
s->vc = qdev_get_vlan_client(&d->dev.qdev,
|
||||
nic_receive, nic_can_receive,
|
||||
nic_can_receive, nic_receive, NULL,
|
||||
nic_cleanup, s);
|
||||
|
||||
qemu_format_nic_info_str(s->vc, s->macaddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue