From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoaWD-0003s3-UH for qemu-devel@nongnu.org; Wed, 12 Nov 2014 11:11:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoaVz-0000rV-P6 for qemu-devel@nongnu.org; Wed, 12 Nov 2014 11:11:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoaVz-0000qO-G7 for qemu-devel@nongnu.org; Wed, 12 Nov 2014 11:11:27 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sACGBPuZ003582 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 12 Nov 2014 11:11:26 -0500 From: Kevin Wolf Date: Wed, 12 Nov 2014 17:11:13 +0100 Message-Id: <1415808678-30795-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/5] block: QMP cache info and HMP node support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, armbru@redhat.com, stefanha@redhat.com This was supposed to be the first part of a series allowing to override the cache mode for backing files, and more specifically to support the test cases for that series. However, this work turned out to be a bit more complicated than I had hoped, and the query improvement is nice to have on its own, so I'm sending this out as a standalone series. v2: - Markus didn't like QMP query-* commands that filter, so this series is mainly about HMP now [Markus] - Use BlockdevCacheInfo instead of BlockdevCacheOptions [Markus] - API version changed to 2.3 - Added 'info block -n' which lists all names nodes - Added a tab completion fix for HMP, bug exposed by 'info block -n' Kevin Wolf (5): block/qapi: Add cache information to query-block block/hmp: Factor out print_block_info() block/hmp: Allow info = NULL in print_block_info() block/hmp: Allow node-name in 'info block' monitor: Fix HMP tab completion block/qapi.c | 7 ++ hmp.c | 219 ++++++++++++++++++++++++++++----------------- monitor.c | 8 +- qapi/block-core.json | 20 ++++- tests/qemu-iotests/051.out | 1 + tests/qemu-iotests/067.out | 10 +-- 6 files changed, 173 insertions(+), 92 deletions(-) -- 1.8.3.1