[Libguestfs] [PATCH] api: add_drive - add QEMU detect-zeroes support

Maros Zatko mzatko at redhat.com
Thu Apr 16 12:01:15 UTC 2015


On 04/13/2015 09:54 AM, Richard W.M. Jones wrote:
> On Thu, Apr 09, 2015 at 04:34:25PM +0200, Maros Zatko wrote:
>> See: https://lists.gnu.org/archive/html/qemu-devel/2012-07/msg03747.html
>> Related do RHBZ#1130506.
>> +    style = RErr, [String "filename"], [OBool "readonly"; OString "format"; OString "iface"; OString "name"; OString "label"; OString "protocol"; OStringList "server"; OString "username"; OString "secret"; OString "cachemode"; OString "discard"; OBool "copyonread"; OBool "detectzeros"];
> [...]
>> +  bool detectzeros;
> Currently qemu allows detectzeroes to be off / on / unmap.  Should we
> allow the unmap option too?  (cf. the discard option)
yup, good idea
>
> Rich.
>




More information about the Libguestfs mailing list