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

Richard W.M. Jones rjones at redhat.com
Mon Apr 13 07:57:45 UTC 2015


On Thu, Apr 09, 2015 at 05:14:23PM +0200, Pino Toscano wrote:
> When the detect-zeros parameter has been added to qemu? When requesting
> to enable it, there should be a qemu version check like it has been
> done for the discard mode.

It was added in qemu 2.1 (commit 465bee1da82e43f18d10c43cc7566d0284ad13a9)
so I agree we do need version detection.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list