On Mon, Mar 26, 2018 at 09:27:25AM +0000, Daniel Erez wrote:
> You can get it from '.storage.type' on the StorageDomain object.
> E.g.
> sd = connection.system_service().storage_domains_service().list()[0]
> sd.storage.type -> nfs/iscsi/etc

Is there a defined set of what can be returned, and/or a way
to find out if the storage is "block-like" or not?

Alternately what happens if we don't specify the sparse flag at all?
Will it do the right thing?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to