Received: from eggs.gnu.org ([2001:4830:134:3::10]:54194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WzqtG-0004mw-CZ for qemu-devel@nongnu.org; Wed, 25 Jun 2014 13:21:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wzqt7-0002Ph-BP for qemu-devel@nongnu.org; Wed, 25 Jun 2014 13:21:46 -0400 Received: from oxygen.pond.sub.org ([2a01:4f8:201:233:1::3]:59946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wzqt6-0002OU-N8 for qemu-devel@nongnu.org; Wed, 25 Jun 2014 13:21:37 -0400 From: Markus Armbruster References: <4b996aea34144d33f2227835dc3d064818ffb7be.1403688576.git.mprivozn@redhat.com> <53AAD523.3000604@redhat.com> Date: Wed, 25 Jun 2014 19:21:33 +0200 In-Reply-To: <53AAD523.3000604@redhat.com> (Eric Blake's message of "Wed, 25 Jun 2014 07:56:51 -0600") Message-ID: <87iono6h2a.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] Makefile: Install qmp-events.txt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: famz@redhat.com, Michal Privoznik , qemu-devel@nongnu.org, Luiz Capitulino , pbonzini@redhat.com, Wenchao Xia Eric Blake writes: > On 06/25/2014 03:30 AM, Michal Privoznik wrote: >> Since fe069d9d5946 the qmp-events.txt does not exist anymore. This is >> unhappy as users still may want to know what events they can await >> from qemu. > > The .json files are a better contract of what is supported, anyways. > >> >> Signed-off-by: Michal Privoznik >> --- >> Makefile | 6 +++++- >> 1 file changed, 5 insertions(+), 1 deletion(-) >> >> diff --git a/Makefile b/Makefile >> index 145adb6..b93aa38 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -77,7 +77,7 @@ LIBS+=-lz $(LIBS_TOOLS) >> HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF) >> >> ifdef BUILD_DOCS >> -DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 >> qmp-commands.txt >> +DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 qemu-nbd.8 >> qmp-commands.txt qmp-events.txt > > Then again, qmp-commands.txt is generated from qmp-commands.hx, which > duplicates information already in qapi-schema.json (and friends, now). > Would it be better to just install the .json files? Is it time to > finally bite the bullet and figure out how to get rid of duplication by > dropping qmp-commands.hx, and instead listing example usage directly in > the qapi-schema.json file? I'm not sure if we have a good plan in place > for user-facing documentation, even if the move to events-as-QAPI was > desirable. The plan always was to retire qmp-commands.hx once all commands are qapified. Naturally, retiring shouldn't involve loss of useful documentation.