net: introduce qemu_net_client_setup()
commit18a1541a8da40271056aab99100bdc38283c42ac
authorJason Wang <jasowang@redhat.com>
Wed, 30 Jan 2013 11:12:26 +0000 (30 19:12 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 17:03:01 +0000 (1 11:03 -0600)
tree6a2eb03dffea7e5fefdd3eabf4faae77eb5477c7
parent6c51ae73fc68de2a4f11f5a7ebb52a4e79687e7d
net: introduce qemu_net_client_setup()

This patch separates the setup of NetClientState from its allocation, this will
allow allocating an arrays of NetClientState and does the initialization one by
one which is what multiqueue needs.

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