The warnings about missing libvirtd come from a check during
importing of the utils_libvirtd module. The module is imported
in env_process and therefore the warnings appear regardless of
whether we use libvirt or qemu. With this commit the check will
still be performed but the warning is removed.

Signed-off-by: Plamen Dimitrov <[email protected]>
---
 virttest/utils_libvirtd.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/virttest/utils_libvirtd.py b/virttest/utils_libvirtd.py
index d768d60..8f779bf 100644
--- a/virttest/utils_libvirtd.py
+++ b/virttest/utils_libvirtd.py
@@ -48,8 +48,6 @@ try:
     LIBVIRTD = "libvirtd"
 except ValueError:
     LIBVIRTD = None
-    logging.warning("Libvirtd service is not available in host, "
-                    "utils_libvirtd module will not function normally")
 
 
 def service_libvirtd_control(action, remote_ip=None,
-- 
1.8.1.4


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to