net: add -net nic,netdev= option

Patchworks-ID: 35515
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Mark McLoughlin 2009-10-08 19:58:29 +01:00 committed by Anthony Liguori
parent 577c4af937
commit 5869c4d515
2 changed files with 37 additions and 5 deletions

1
net.h
View file

@ -99,6 +99,7 @@ struct NICInfo {
char *name;
char *devaddr;
VLANState *vlan;
VLANClientState *netdev;
VLANClientState *vc;
void *private;
int used;