From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuenD-00066t-8V for qemu-devel@nongnu.org; Thu, 04 Jul 2013 04:21:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuenC-0008IQ-2r for qemu-devel@nongnu.org; Thu, 04 Jul 2013 04:21:31 -0400 Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:54866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuegD-00050x-VI for qemu-devel@nongnu.org; Thu, 04 Jul 2013 04:14:18 -0400 Received: by mail-wg0-f50.google.com with SMTP id k14so864676wgh.17 for ; Thu, 04 Jul 2013 01:14:17 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51D52ED0.7040002@redhat.com> Date: Thu, 04 Jul 2013 10:14:08 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1372862071-28225-1-git-send-email-pbonzini@redhat.com> <1372862071-28225-12-git-send-email-pbonzini@redhat.com> <20130704032225.GC6659@T430s.nay.redhat.com> In-Reply-To: <20130704032225.GC6659@T430s.nay.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 11/17] block: return get_block_status data and flags for formats List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: famz@redhat.com Cc: kwolf@redhat.com, pl@kamp.de, qemu-devel@nongnu.org, stefanha@redhat.com Il 04/07/2013 05:22, Fam Zheng ha scritto: >> > + case VMDK_OK: >> > + /* TODO: might return offset if the extents are in bs->file. */ >> > + ret = BDRV_BLOCK_DATA; > if (extent->file == bs->file) { > ret |= BDRV_BLOCK_OFFSET_VALID | offset; > } Thanks. :) Paolo