cancelled!
I'm sending a new patch.
On 27/04/2016 13:22, Jose Ricardo Ziviani wrote:
- there is an issue regarding libvirt socket permissions that make
libguestfs fails when trying to access an image. If libguestfs
access the same image directly, instead of using libvirt, it
works.
http://libguestfs.org/guestfs-faq.1.html
Signed-off-by: Jose Ricardo Ziviani <joserz(a)linux.vnet.ibm.com>
---
imageinfo.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/imageinfo.py b/imageinfo.py
index 8874917..5a25bb7 100644
--- a/imageinfo.py
+++ b/imageinfo.py
@@ -50,6 +50,7 @@ def probe_image(image_path):
g = guestfs.GuestFS(python_return_dict=True)
g.add_drive_opts(image_path, readonly=1)
+ g.set_backend('direct')
g.launch()
try:
roots = g.inspect_os()
--
Jose Ricardo Ziviani
-----------------------------
Software Engineer
Linux Technology Center - IBM