mirror of
https://github.com/mii443/qemu.git
synced 2025-09-02 15:19:24 +00:00
net: introduce qemu_get_queue()
To support multiqueue, the patch introduce a helper qemu_get_queue() which is used to get the NetClientState of a device. The following patches would refactor this helper to support multiqueue. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
committed by
Anthony Liguori
parent
28a65891a0
commit
b356f76de3
@ -77,6 +77,7 @@ NICState *qemu_new_nic(NetClientInfo *info,
|
||||
const char *model,
|
||||
const char *name,
|
||||
void *opaque);
|
||||
NetClientState *qemu_get_queue(NICState *nic);
|
||||
void qemu_del_net_client(NetClientState *nc);
|
||||
NetClientState *qemu_find_vlan_client_by_name(Monitor *mon, int vlan_id,
|
||||
const char *client_str);
|
||||
|
Reference in New Issue
Block a user