• Andreas Färber's avatar
    module: Don't complain when a module is absent · bb2eb189
    Andreas Färber authored
    The current implementation depends on a configure-time generated list of
    block modules. When any of them is absent, module_load() emits a warning.
    This is suboptimal because extracting code to modules was mainly done to
    allow separate packaging of modules with intrusive dependencies. Absence
    of optional packages then leads to absence of modules and an error
    message, which users may recognize as new and report as error.
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Michael Tokarev <mjt@tls.msk.ru>
    Reviewed-by: default avatarFam Zheng <famz@redhat.com>
    Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
module.c 4.78 KB