[Libguestfs] Can't access remote URI

Wanlong Gao gaowanlong at cn.fujitsu.com
Thu Dec 20 08:00:10 UTC 2012


Hi Rich,

We just found that the libguestfs can't access the remote URI.
When doing guestfs__add_drive_opts(), we always add files from
local system, it's related the -c|--connect option.

As I know, we are using local kernel to lunch the min-guest,
and it's hard to attach remote disks to our local min-guest.

Our test team found this problem by using following command,

# virt-sysprep -c qemy+ssh://<host>/system -d domname

Then, for example the path of remote disk is /work/rhel.img,
but we are about to access the /work/rhel.img locally.

So, IMHO, if we are about to not support the remote URI, we
should give a error message first. But access local disks
instead of remote disks are definitely wrong here.

Maybe we also need document this.

Any thoughts?

Thanks,
Wanlong Gao




More information about the Libguestfs mailing list