[Libguestfs] [PATCH v3 RESEND] direct, fish: add blocksize as optional argument for launch command

Richard W.M. Jones rjones at redhat.com
Tue Nov 12 09:43:30 UTC 2019


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/696b1b059a05f78fb2c55c50bcfee651a2c5ead9/generator/actions_core.ml#L213

(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/




More information about the Libguestfs mailing list