Merge "Libvirt: Use tpool to invoke guestfs api" into stable/kilo

This commit is contained in:
Jenkins 2015-05-15 16:16:00 +00:00 committed by Gerrit Code Review
commit 36fb00291d
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class VFSGuestFS(vfs.VFS):
def inspect_capabilities(self):
"""Determines whether guestfs is well configured."""
try:
g = guestfs.GuestFS()
g = tpool.Proxy(guestfs.GuestFS())
g.add_drive("/dev/null") # sic
g.launch()
except Exception as e: