[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] Can't access remote URI



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]