From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoAo8-0000wu-C7 for qemu-devel@nongnu.org; Tue, 02 Aug 2011 04:58:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QoAo7-0007mR-9j for qemu-devel@nongnu.org; Tue, 02 Aug 2011 04:58:36 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:64835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QoAo7-0007m2-4m for qemu-devel@nongnu.org; Tue, 02 Aug 2011 04:58:35 -0400 Received: by fxbb27 with SMTP id b27so6008572fxb.4 for ; Tue, 02 Aug 2011 01:58:34 -0700 (PDT) Date: Tue, 2 Aug 2011 09:58:28 +0100 From: Stefan Hajnoczi Message-ID: <20110802085828.GC8912@stefanha-thinkpad.localdomain> References: <1311914994-20482-1-git-send-email-devin122@gmail.com> <1311914994-20482-5-git-send-email-devin122@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1311914994-20482-5-git-send-email-devin122@gmail.com> Subject: Re: [Qemu-devel] [RFC 04/24] block: add bdrv_get_mapping() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Devin Nakamura Cc: kwolf@redhat.com, qemu-devel@nongnu.org On Fri, Jul 29, 2011 at 12:49:34AM -0400, Devin Nakamura wrote: > +/** > + * Gets a mapping from an offset in the image to an offset within a file > + * > + * All offsets are in bytes. Functions starts its search at offset host_offset > + * + count (offset within the image, not the file offset) This function starts its search at *guest_offset + *contiguous_bytes. > + * > + * @param guest_offset used to calculate starting search location on [in, out] Stefan