v2v: fix identifier

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

Fixes commit f7249a0bcc.
This commit is contained in:
Pino Toscano
2015-10-21 15:52:31 +02:00
parent 6aea0e21ad
commit 8d8fa9cf4a

View File

@@ -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