mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-10 05:31:29 +00:00
driver: log missing modules as INFO, not WARN
Missing modules is a common expected scenario for most libvirt usage on RPM distributions like Fedora, so it doesn't really warrant logging at WARN level. Use INFO instead https://bugzilla.redhat.com/show_bug.cgi?id=1274849 (cherry picked from commit 9a0c7f5f834185db9017c34aabc03ad99cf37bed)
This commit is contained in:
parent
f945ae0efe
commit
586eeca178
@ -62,7 +62,7 @@ virDriverLoadModule(const char *name)
|
|||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (access(modfile, R_OK) < 0) {
|
if (access(modfile, R_OK) < 0) {
|
||||||
VIR_WARN("Module %s not accessible", modfile);
|
VIR_INFO("Module %s not accessible", modfile);
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user