diff --git a/library/virt b/library/virt index c1181d7a5d8..5d69e36769a 100755 --- a/library/virt +++ b/library/virt @@ -19,6 +19,8 @@ VIRT_FAILED = 1 VIRT_SUCCESS = 0 VIRT_UNAVAILABLE=2 +import sys + try: import libvirt except ImportError: