mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
net: add receive_raw parameter to qemu_new_vlan_client()
Trivial patch to allow supplying a receive_raw function. A future cleanup should combine this function pointer parameters into a table. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
ca77d17591
commit
70783b9c9b
9 changed files with 16 additions and 13 deletions
|
@ -466,7 +466,7 @@ void mcf_fec_init(NICInfo *nd, target_phys_addr_t base, qemu_irq *irq)
|
|||
nd->vlan, nd->netdev,
|
||||
nd->model, nd->name,
|
||||
mcf_fec_can_receive, mcf_fec_receive,
|
||||
NULL, mcf_fec_cleanup, s);
|
||||
NULL, NULL, mcf_fec_cleanup, s);
|
||||
memcpy(s->macaddr, nd->macaddr, 6);
|
||||
qemu_format_nic_info_str(s->vc, s->macaddr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue