Revision a41b2ff2 vl.c
b/vl.c | ||
---|---|---|
2718 | 2718 |
return -1; |
2719 | 2719 |
} |
2720 | 2720 |
} |
2721 |
if (get_param_value(buf, sizeof(buf), "model", p)) { |
|
2722 |
nd->model = strdup(buf); |
|
2723 |
} |
|
2721 | 2724 |
nd->vlan = vlan; |
2722 | 2725 |
nb_nics++; |
2723 | 2726 |
ret = 0; |
... | ... | |
4110 | 4113 |
#endif |
4111 | 4114 |
"\n" |
4112 | 4115 |
"Network options:\n" |
4113 |
"-net nic[,vlan=n][,macaddr=addr]\n" |
|
4116 |
"-net nic[,vlan=n][,macaddr=addr][,model=type]\n"
|
|
4114 | 4117 |
" create a new Network Interface Card and connect it to VLAN 'n'\n" |
4115 | 4118 |
#ifdef CONFIG_SLIRP |
4116 | 4119 |
"-net user[,vlan=n]\n" |
Also available in: Unified diff