On Tue, 19 Jul 2022 at 14:57, Drap Anton <drapa...@gmail.com> wrote: > > From: "Drap, Anton" <anton.d...@auriga.com> > > There is no mechanism to load external machines and classes from modules > at the moment. This patch is to add two parameters `add_machine` and > `add_modinfo` for it. > `add_machine` is to add machines from external modules. > `add_modinfo` is to add devices from external modules, needed for a new > machine, for example. > Main aim is to have possibility to develop independent models and be able > to use it with mainline QEMU.
This is deliberate, as a policy decision. We don't really want to encourage people to develop device and machine models externally -- we'd rather they contributed them upstream. Code to support out-of-tree devices and boards is pure burden for upstream, with no benefit to us. thanks -- PMM