From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN2Qh-0000ry-Rn for qemu-devel@nongnu.org; Mon, 10 Mar 2014 11:47:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WN2Qc-0000W6-03 for qemu-devel@nongnu.org; Mon, 10 Mar 2014 11:47:51 -0400 Received: from mail-ee0-x232.google.com ([2a00:1450:4013:c00::232]:63349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WN2Qb-0000W1-QB for qemu-devel@nongnu.org; Mon, 10 Mar 2014 11:47:45 -0400 Received: by mail-ee0-f50.google.com with SMTP id c13so3247838eek.9 for ; Mon, 10 Mar 2014 08:47:44 -0700 (PDT) Date: Mon, 10 Mar 2014 16:47:41 +0100 From: Stefan Hajnoczi Message-ID: <20140310154741.GF32400@stefanha-thinkpad.redhat.com> References: <1394230212-19349-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1394230212-19349-1-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH] qcow2-refcount: Sanitize refcount table entry List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Kevin Wolf , Laszlo Ersek , qemu-devel@nongnu.org, Stefan Hajnoczi On Fri, Mar 07, 2014 at 11:10:12PM +0100, Max Reitz wrote: > When reading the refcount table entry in get_refcount(), only bits which > are actually significant for the refcount block offset should be taken > into account. > > Signed-off-by: Max Reitz > --- > block/qcow2-refcount.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan