diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-11-25 18:49:02 +0000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 09:41:29 -0600 |
commit | 45460d1a53d202550945e2b144af8ebb1d62bed0 (patch) | |
tree | ea212264dc10a30951c73e1cdf141b1dd951ebca /net.h | |
parent | 3ed79cc949369c7310217dfd05bc45351436fc71 (diff) |
net: introduce qemu_new_net_client()
A replacement for qemu_new_vlan_client(), using NetClientInfo to
replace most arguments.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -85,6 +85,11 @@ struct VLANState { VLANState *qemu_find_vlan(int id, int allocate); VLANClientState *qemu_find_netdev(const char *id); +VLANClientState *qemu_new_net_client(NetClientInfo *info, + VLANState *vlan, + VLANClientState *peer, + const char *model, + const char *name); VLANClientState *qemu_new_vlan_client(net_client_type type, VLANState *vlan, VLANClientState *peer, |