From patchwork Tue Apr 10 16:05:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alberto Garcia X-Patchwork-Id: 896805 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=igalia.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="PKM+VDH+"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40LC2G6cHBz9s1P for ; Wed, 11 Apr 2018 02:15:33 +1000 (AEST) Received: from localhost ([::1]:54548 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5vvf-00047e-IN for incoming@patchwork.ozlabs.org; Tue, 10 Apr 2018 12:15:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5vmZ-0002Tm-49 for qemu-devel@nongnu.org; Tue, 10 Apr 2018 12:06:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5vmU-0003vM-Vg for qemu-devel@nongnu.org; Tue, 10 Apr 2018 12:06:07 -0400 Received: from fanzine.igalia.com ([91.117.99.155]:45114) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5vmU-0003Ya-Jw; Tue, 10 Apr 2018 12:06:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=References:In-Reply-To:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=4z/o3AtHl6erk4Ovf5IAXltx/j9UWAjteYylWZRrEcc=; b=PKM+VDH+ab6aShobKyJ3c3FuOqzeCNk78cu2u08++n9pJBAZENeFNZfX8eGgjM3PPq0f1NP8ho2yKA7Q4lbIRff5lVCBegY7Xv8yiy4p0qnNsQ0L5h9zvGfa4tbQb2lJpwUcMkhzyIK6/l1dBIWH5kFYAE2Re46yBfH7NDFj29Y5EBag+SA0NNs1u2Fl1YuQlsHIba4gt+INC1A5rZSJhGZyWT1s8dPdcgRhCa5hbNstcbRnWNa742F+cpxsc0hyfe9qb351ISl03euZPCgCHo/ouO/5vU/Ff5Ks/e3LfsnrvWOKNnFUpXvj3+APBV/HHy4JZl+5M3itxMiVV5Qq/A==; Received: from 248.red-83-39-130.dynamicip.rima-tde.net ([83.39.130.248] helo=perseus.local) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1f5vls-00062I-VM; Tue, 10 Apr 2018 18:05:25 +0200 Received: from berto by perseus.local with local (Exim 4.89) (envelope-from ) id 1f5vlf-0003P0-VA; Tue, 10 Apr 2018 19:05:11 +0300 From: Alberto Garcia To: qemu-devel@nongnu.org Date: Tue, 10 Apr 2018 18:05:04 +0200 Message-Id: <74552e1d6e858d3159cb0c0e188e80bc9248e337.1523376013.git.berto@igalia.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Received-From: 91.117.99.155 Subject: [Qemu-devel] [PATCH 2/2] specs/qcow2: Clarify that compressed clusters have the COPIED bit reset X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Alberto Garcia , qemu-block@nongnu.org, Max Reitz Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Compressed clusters are not supposed to have the COPIED bit set, but this is not made explicit in the specs, so let's document it. Signed-off-by: Alberto Garcia Reviewed-by: Eric Blake --- docs/interop/qcow2.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/interop/qcow2.txt b/docs/interop/qcow2.txt index feb711fb6a..8e1547ded2 100644 --- a/docs/interop/qcow2.txt +++ b/docs/interop/qcow2.txt @@ -400,10 +400,10 @@ L2 table entry: 62: 0 for standard clusters 1 for compressed clusters - 63: 0 for a cluster that is unused or requires COW, 1 if its - refcount is exactly one. This information is only accurate - in L2 tables that are reachable from the active L1 - table. + 63: 0 for clusters that are unused, compressed or require COW. + 1 for standard clusters whose refcount is exactly one. + This information is only accurate in L2 tables + that are reachable from the active L1 table. Standard Cluster Descriptor: