|
From: | Eric Blake |
Subject: | Re: [Qemu-block] [Qemu-devel] [PATCH 03/17] iotests: ask qemu for supported formats |
Date: | Mon, 4 Jun 2018 17:40:49 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 06/04/2018 05:34 AM, Thomas Huth wrote:
On 04.06.2018 09:18, Markus Armbruster wrote:Roman Kagan <address@hidden> writes:Add helper functions to query the block drivers actually supported by QEMU using "-drive format=?". This allows to skip certain tests that require drivers not built in or whitelisted in QEMU.
+ supported_formats=$($QEMU_PROG $QEMU_OPTIONS -drive format=\? 2>&1 | \Use of '?' to get help is deprecated. Please use 'format=help', and update your commit message accordingly.Is it? Where did we document that?
Hmm, we haven't documented it yet, but it's been that way since commit c8057f95, in Aug 2012, when we added 'help' as the preferred synonym, and have tried to avoid mention of '?' in new documentation (as it requires additional shell quoting). I'm guessing we'll probably see a patch from you to start an official deprecation window?
-- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |