[Libguestfs] [PATCH 4/4] stub server side mount command
Richard W.M. Jones
rjones at redhat.com
Fri May 10 21:31:08 UTC 2013
On Fri, May 10, 2013 at 01:37:41PM +0100, Richard W.M. Jones wrote:
> and it could do iscsi too with very minimal effort. Are we really
> interested in iscsi? If so I'll add it.
I've added iSCSI support:
However I can't get it to work. Writes simply appear to be ignored
(not an error - just dropped on the floor). I'm not sure if this is a
shortcoming of the qemu driver, or my iSCSI server, but it's not a
problem with libguestfs (which just passes the iSCSI connection
details over to qemu).
There are some actual shortcomings in the libguestfs implementation
(1) Authentication is not supported. We could add that fairly easily.
(2) ':' in target names is not supported. qemu doesn't allow one to
pass ':' on the command line ordinarily, but for iscsi:// URIs it does
in fact allow it. However libguestfs is overcautious in checking for
':' characters in filenames. We should fix this.
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
More information about the Libguestfs