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