Revision 5607c388 qemu-options.hx
b/qemu-options.hx | ||
---|---|---|
733 | 733 |
ETEXI |
734 | 734 |
|
735 | 735 |
DEF("net", HAS_ARG, QEMU_OPTION_net, |
736 |
"-net nic[,vlan=n][,macaddr=addr][,model=type][,name=str]\n"
|
|
736 |
"-net nic[,vlan=n][,macaddr=mac][,model=type][,name=str][,addr=str]\n"
|
|
737 | 737 |
" create a new Network Interface Card and connect it to VLAN 'n'\n" |
738 | 738 |
#ifdef CONFIG_SLIRP |
739 | 739 |
"-net user[,vlan=n][,name=str][,hostname=host]\n" |
... | ... | |
767 | 767 |
"-net none use it alone to have zero network devices; if no -net option\n" |
768 | 768 |
" is provided, the default is '-net nic -net user'\n") |
769 | 769 |
STEXI |
770 |
@item -net nic[,vlan=@var{n}][,macaddr=@var{addr}][,model=@var{type}][,name=@var{name}]
|
|
770 |
@item -net nic[,vlan=@var{n}][,macaddr=@var{mac}][,model=@var{type}][,name=@var{name}][,addr=@var{addr}]
|
|
771 | 771 |
Create a new Network Interface Card and connect it to VLAN @var{n} (@var{n} |
772 | 772 |
= 0 is the default). The NIC is an ne2k_pci by default on the PC |
773 |
target. Optionally, the MAC address can be changed to @var{addr} |
|
773 |
target. Optionally, the MAC address can be changed to @var{mac}, the |
|
774 |
device address set to @var{addr} (PCI cards only), |
|
774 | 775 |
and a @var{name} can be assigned for use in monitor commands. If no |
775 | 776 |
@option{-net} option is specified, a single NIC is created. |
776 | 777 |
Qemu can emulate several different models of network card. |
Also available in: Unified diff