[Libguestfs] [PATCH] v2v: fix identifier

Pino Toscano ptoscano at redhat.com
Wed Oct 21 13:53:34 UTC 2015


Set the "virtio_win" identifier to the right Guestfs handle.

Fixes commit f7249a0bccc43d5b5e11703ff432b0361b03292b.
---
 v2v/convert_windows.ml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml
index 099ced2..fbd3ce1 100644
--- a/v2v/convert_windows.ml
+++ b/v2v/convert_windows.ml
@@ -296,7 +296,7 @@ echo uninstalling Xen PV driver
     else if is_regular_file virtio_win then (
       try
         let g2 = open_guestfs () in
-        g#set_identifier "virtio_win";
+        g2#set_identifier "virtio_win";
         g2#add_drive_opts virtio_win ~readonly:true;
         g2#launch ();
         let vio_root = "/" in
-- 
2.1.0




More information about the Libguestfs mailing list