Re: Error in user guide section "4.3.15. pci"

Volker Ruppert <[email protected]> Thu, 14 Oct 2021 19:14:13 +0200
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <[email protected]>
Hi!

> With Bochs version 2.7 statement "pci: enabled=1, chipset=i440fx,
> slot1=pcivga, slot2=ne2k, advopts=noacpi" doesn't work anymore.
> 
> One has to change "slot2=ne2k" "slot2=ne2k0" (or ne2k1, ...) in the
> Bochs configuration files, because of the "multiple NICs" support added.
> 
> Otherwise you encounter a fatal error: "Unknown plugin 'ne2k' at PCI
> slot #2"
> 
> Similar to solve: "Unknown plugin 'e1000' at PCI slot #2".
> Although "e10000" looks a little odd. Maybe it's better to change the
> numbering scheme from 0..3 to a..d?

You must be wrong here. The list of valid device names for the PCI slots 
is built from the plugins list, so there is only one "ne2k" present. 
This feature is not yet ready for multiple devices created by one 
plugin. See function bx_init_pcidev_list() in config.cc how the choices 
list is created.

--
Greetings,
Volker Ruppert