Blocksize is a property of a disk, not the handle or launch
command. So:
(1) Add a blocksize parameter to add_drive:
https://github.com/libguestfs/libguestfs/blob/696b1b059a05f78fb2c55c50bcf...
(2) (Optional, if still needed after doing step 1). Add a --blocksize
parameter to guestfish and the virt-* tools which work like the
--format parameter. See ‘OPTION_format’ throughout the code.
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/