vl: load plugins as late as possible
commit8a7459744c7ab29b92dfcc7784dd76befc9b0b43
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 21 Oct 2020 14:25:06 +0000 (21 10:25 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Dec 2020 17:15:13 +0000 (10 12:15 -0500)
tree2cde2eea492145d3c7075c4b6e47ed3e8fe98750
parentd8a798f62e0c0bc5f7bf4968f52ed5e9a6357465
vl: load plugins as late as possible

There is no need to load plugins in the middle of default device processing,
move -plugin handling just before preconfig is entered.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu/vl.c