Le lun. 18 mars 2019 10:07, Paolo Bonzini <pbonz...@redhat.com> a écrit :
> On 16/03/19 23:41, Philippe Mathieu-Daudé wrote: > > On 3/16/19 10:50 PM, Paolo Bonzini wrote: > >>> This fixes when configuring with --without-default-devices: > >>> > >>> $ qemu-system-hppa > >>> qemu-system-hppa: Unsupported NIC model: e1000 > >> > >> This is intended. --without-default-devices does not guarantee that > you can start > >> the board except with --nodefaults. > > > > Ah! Now I get it... > > But actually it makes a lot of sense to add these as "imply" directives. > This way, disabling CONFIG_PCI_DEVICES does result in a usable system. > Thinking of real hardware, one idea I have is to use a HAS_PCI_SLOTS which "imply PCI_DEVICES". Embedded boards with no slots can't get extra PCI plugged. Similar with other busses. It depends if soldered on-board or if connectors are accessible. Paolo > >