Received: from eggs.gnu.org ([2001:4830:134:3::10]:60161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ39D-0002J7-JF for qemu-devel@nongnu.org; Tue, 30 Sep 2014 15:31:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZ395-0002bQ-DE for qemu-devel@nongnu.org; Tue, 30 Sep 2014 15:31:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ395-0002ax-6E for qemu-devel@nongnu.org; Tue, 30 Sep 2014 15:31:35 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s8UJVWYo002314 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 30 Sep 2014 15:31:32 -0400 From: Max Reitz Date: Tue, 30 Sep 2014 21:31:26 +0200 Message-Id: <1412105489-7681-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] qcow2/qapi: Add "corrupt" to ImageInfoSpecificQCow2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Jeff Cody , Stefan Hajnoczi , Max Reitz This series adds a field corresponding to the "corrupt" flag to ImageInfoSpecificQCow2. This breaks several qemu-iotests which directly invoke qemu-img info instead of using _img_info. Patch 1 tries to minimize the necessary output fixes in patch 2 by replacing several occurrences of direct qemu-img info calls by _img_info where appropriate. Max Reitz (3): iotests: Use _img_info qapi: Add corrupt field to ImageInfoSpecificQCow2 iotests: qemu-img info output for corrupt image block/qcow2.c | 3 +++ qapi/block-core.json | 6 ++++- tests/qemu-iotests/060 | 3 +++ tests/qemu-iotests/060.out | 9 +++++++ tests/qemu-iotests/065 | 12 ++++----- tests/qemu-iotests/067.out | 10 ++++---- tests/qemu-iotests/070 | 2 +- tests/qemu-iotests/070.out | 5 ++-- tests/qemu-iotests/082 | 12 ++++----- tests/qemu-iotests/082.out | 62 ++++++++++++++-------------------------------- tests/qemu-iotests/089.out | 2 ++ tests/qemu-iotests/095 | 4 +-- tests/qemu-iotests/095.out | 16 +++--------- 13 files changed, 66 insertions(+), 80 deletions(-) -- 2.1.1