Received: from eggs.gnu.org ([2001:4830:134:3::10]:38566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnN3s-00013c-BK for qemu-devel@nongnu.org; Fri, 23 Sep 2016 05:46:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnN3q-0006vz-RW for qemu-devel@nongnu.org; Fri, 23 Sep 2016 05:46:27 -0400 Date: Fri, 23 Sep 2016 11:46:17 +0200 From: Kevin Wolf Message-ID: <20160923094617.GC5436@noname.redhat.com> References: <1474558931-8968-1-git-send-email-kwolf@redhat.com> <1474558931-8968-4-git-send-email-kwolf@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pvezYHf7grwyp3Bc" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH 3/3] doc: Document driver-specific -blockdev options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-block@nongnu.org, armbru@redhat.com, mreitz@redhat.com, berrange@redhat.com, qemu-devel@nongnu.org --pvezYHf7grwyp3Bc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am 22.09.2016 um 21:02 hat Eric Blake geschrieben: > On 09/22/2016 10:42 AM, Kevin Wolf wrote: > > This documents the driver-specific options for the raw, qcow2 and file > > block drivers for the man page. For everything else, we refer to the > > QAPI documentation. > >=20 > > Signed-off-by: Kevin Wolf > > --- > > qemu-options.hx | 62 +++++++++++++++++++++++++++++++++++++++++++++++++= ++++++++ > > 1 file changed, 62 insertions(+) > >=20 >=20 > > =20 > > +@item Driver-specific options for @code{file} > > +@table @code > > +@item filename > > +The path to the image file in the local filesystem > > +@item aio > > +Specifies the AIO backend (threads/native, default: threads) > > +@end table > > + > > +@item Driver-specific options for @code{raw} > > +@table @code > > +@item file > > +Reference to or definition of the data source block device > > +@end table >=20 > Would an example command line make things any easier to read, for giving > hints on how many dotted names are needed as you describe further > nesting levels in relation to the top level? Hm, I guess I could add an example command line to each driver section. And probably the dotted syntax should be mentioned somewhere, too. > > +@item cache-clean-interval > > +Clean unused entries in the L2 and refcount caches. The interval is in= seconds. > > +The default value is 0 and it disables this feature. > > + > > +@item pass-discard-request > > +Whether discard requests to the qcow2 device should be forwarded to th= e data > > +source (on/off) > > + > > +@item pass-discard-snapshot > > +Whether discard requests for the data source should be issued when a s= napshot > > +operation (e.g. deleting a snapshot) frees clusters in the qcow2 file = (on/off) > > + > > +@item pass-discard-other > > +Whether discard requests for the data source should be issued on other > > +occasions where a cluster gets freed (on/off) >=20 > I like that cache-clean-interval mentioned a default; should these other > lines do likewise? Actually I took most of these descriptions straight from the QAPI schema comments, except that I added the allowed values sometimes. If the default is missing, we should probably add it in both places. Kevin --pvezYHf7grwyp3Bc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJX5PnpAAoJEH8JsnLIjy/WXV4P/j7HspRDwzgDThT+SwiHNRzm mLA6lQ9uvXKCvNIt1OBui8vjwivN4ZsNDILhl4ichvbYAxb4GPBSorknenHl+GfG 3nKPdqoOKzUMPAz8MNxWrX31SommqjoCFn37EdXhy1/WoUKMLZbmYYMBkMD4jGNg PzunzXS1BfbvyY1IzMV1QkYJDDY53GpP+6NJJuwoNOZuUZD5/ROV9+/1fSM9ix+R syozexpwMrdbh55Dpg/Zpi8g3OHoM68mokyZyQAuYAh3J//Aow0T9fXhGbLH4OI2 sh0NfKaZbBMit97LIAO5bDrDmY/c6k5FL0Gmp4VK0ndP32PYJv2cZqLCoj1q3upT xsJB96W2rRgiQfOvtkbpcHhEq0W8HcFgdZTJpfmwARI7A/FA8vkh3bsCXUttAkzd 12BvTyD9xkbO0laJsIepgL1CHczgpPo1tKaydDflw864fv4BeyP8PiBSMwdqyltX K5rw3ChH7z1YvVg7gDCGt1+xsFSh0yAZk5DJjSTAqEknxFO/ZrMg2ozKw2C0LnI+ MXdntZPw7qkbEHr1+0sOpeNqMpls/hO6y1AbLuK+zswzb4TolCpw9LIDZFcdvWca mTuEmv8jeIpOIOhiZIrpDaEvYRUbw8Tjb+y4vlF1h1lldJHjQlm/B1Cq8jeV69u+ AlFRdUg5nJoWT6+4CeP4 =AJo3 -----END PGP SIGNATURE----- --pvezYHf7grwyp3Bc--