]> git.proxmox.com Git - qemu.git/commit
net: introduce qemu_find_net_clients_except()
authorJason Wang <jasowang@redhat.com>
Wed, 30 Jan 2013 11:12:25 +0000 (19:12 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 17:03:01 +0000 (11:03 -0600)
commit6c51ae73fc68de2a4f11f5a7ebb52a4e79687e7d
treeac8219d4c3d59f22a5e38dbbf4fb02abb018c631
parent948ecf219c032e3483b35ba4e162e5eee17d8b77
net: introduce qemu_find_net_clients_except()

In multiqueue, all NetClientState that belongs to the same netdev or nic has the
same id. So this patches introduces an helper qemu_find_net_clients_except()
which finds all NetClientState with the same id. This will be used by multiqueue
networking.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
include/net/net.h
net/net.c