Revision 5607c388
ID | 5607c38820366954c38dd702e979499486057481 |
Support addr=... in option argument of -net nic
Make net_client_init() accept addr=, put the value into struct
NICinfo. Use it in pci_nic_init(), and remove arguments bus and
devfn.
Don't support addr= in third argument of monitor command pci_add,
because that clashes with its first argument. Admittedly unelegant.
Machines "malta" and "r2d" have a default NIC with a well-known PCI
address. Deal with that the same way as the NIC model: make
pci_nic_init() take an optional default to be used when the user
doesn't specify one.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Files
- added
- modified
- copied
- renamed
- deleted
- hw
- mips_malta.c (diff)
- pc.c (diff)
- pci-hotplug.c (diff)
- pci.c (diff)
- pci.h (diff)
- ppc440_bamboo.c (diff)
- ppc_newworld.c (diff)
- ppc_oldworld.c (diff)
- ppc_prep.c (diff)
- ppce500_mpc8544ds.c (diff)
- r2d.c (diff)
- realview.c (diff)
- versatilepb.c (diff)
- net.c (diff)
- net.h (diff)
- qemu-options.hx (diff)