From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8ZDX-00023B-RI for qemu-devel@nongnu.org; Mon, 14 Dec 2015 14:55:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8ZDT-0007yS-7b for qemu-devel@nongnu.org; Mon, 14 Dec 2015 14:55:31 -0500 From: John Snow Date: Mon, 14 Dec 2015 14:55:11 -0500 Message-Id: <1450122916-4706-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/5] block: allow partial info-block query List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-block@nongnu.org Cc: kwolf@redhat.com, John Snow , qemu-devel@nongnu.org, mreitz@redhat.com Allow info-block to succeed even when it cannot reconstruct filenames, but be explicit about this failure. Utilities that rely on the current behavior are modified to report this explicit failure to users. v3: - Fix qemu-img output such that "backing file IS the absolute backing path" and "absolute backing path was indeterminate" are distinguishable via a new error message present in block/qapi.c; see patch 3. - Output for test 110 modified once more to expect the above error. v2: - Fix qemu-img from now choking when it gets a partial response. ________________________________________________________________________________ For convenience, this branch is available at: https://github.com/jnsnow/qemu.git branch block-allow-partial-query https://github.com/jnsnow/qemu/tree/block-allow-partial-query This version is tagged block-allow-partial-query-v3: https://github.com/jnsnow/qemu/releases/tag/block-allow-partial-query-v3 John Snow (5): block/qapi: do not redundantly print "actual path" block/qapi: always report full_backing_filename block/qapi: explicitly warn if !has_full_backing_filename qemu-img: abort when full_backing_filename not present block/qapi: allow best-effort query block/qapi.c | 19 ++++++++++++------- qemu-img.c | 5 ++++- tests/qemu-iotests/043.out | 2 ++ tests/qemu-iotests/110.out | 5 ++++- 4 files changed, 22 insertions(+), 9 deletions(-) -- 2.4.3