Received: from eggs.gnu.org ([2001:4830:134:3::10]:39921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUCFW-0001Xu-3b for qemu-devel@nongnu.org; Thu, 10 Oct 2013 05:09:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUCFQ-0003Mk-1G for qemu-devel@nongnu.org; Thu, 10 Oct 2013 05:09:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUCFP-0003Ma-QP for qemu-devel@nongnu.org; Thu, 10 Oct 2013 05:09:31 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r9A99VGf030401 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 10 Oct 2013 05:09:31 -0400 From: Max Reitz Date: Thu, 10 Oct 2013 11:09:22 +0200 Message-Id: <1381396168-12526-1-git-send-email-mreitz@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/6] Configure metadata overlap checks at runtime List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Stefan Hajnoczi , Max Reitz This series changes the way of selecting what metadata overlap checks to perform from (currently) using a macro to using a variable contained in BDRVQcowState which can be configured at runtime through several command line options. v2: - rebased on Kevin's block branch - patch 1: affects line numbers, diff environments and one overlap check that has been removed in the meantime - patch 2: line number changes - patch 5: replaced QCOW2_OL_SNAPSHOT_TABLE by QCOW2_OL_INACTIVE_L1 in the definition of QCOW2_OL_CACHED (the former one is already a part of QCOW2_OL_CONSTANT, the latter one was missing) Max Reitz (6): qcow2: Use negated overflow check mask qcow2: Make overlap check mask variable qcow2: Add overlap-check options qcow2: Array assigning options to OL check bits qcow2: Add more overlap check bitmask macros qcow2: Evaluate overlap check options block/qcow2-cache.c | 8 ++--- block/qcow2-cluster.c | 16 ++++----- block/qcow2-refcount.c | 22 ++++++------ block/qcow2-snapshot.c | 12 +++---- block/qcow2.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++-- block/qcow2.h | 30 +++++++++++++---- 6 files changed, 136 insertions(+), 43 deletions(-) -- 1.8.3.1