From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKOUS-0008QD-85 for qemu-devel@nongnu.org; Thu, 21 Aug 2014 05:17:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKOUK-0006G8-Cy for qemu-devel@nongnu.org; Thu, 21 Aug 2014 05:17:03 -0400 Message-ID: <53F5B905.7060308@suse.de> Date: Thu, 21 Aug 2014 11:16:53 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1407817342-1373-1-git-send-email-jcmvbkbc@gmail.com> <1407817342-1373-3-git-send-email-jcmvbkbc@gmail.com> In-Reply-To: <1407817342-1373-3-git-send-email-jcmvbkbc@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/3] hw/core/loader: implement load_uimage_at List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Filippov , qemu-devel@nongnu.org Cc: Waldemar Brodkorb , qemu-stable@nongnu.org On 12.08.14 06:22, Max Filippov wrote: > load_uimage_at loads kernel image at the specified address instead of > the address recorded in the uImage header. > > Cc: qemu-stable@nongnu.org > Signed-off-by: Max Filippov Please check out load_elf() and friends. The way we usually handle these things is by providing a special translate_fn function callback that adds the offset. Alex