From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atajK-0007oZ-K2 for qemu-devel@nongnu.org; Fri, 22 Apr 2016 09:02:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atajF-0004rz-1P for qemu-devel@nongnu.org; Fri, 22 Apr 2016 09:02:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atajE-0004rW-SQ for qemu-devel@nongnu.org; Fri, 22 Apr 2016 09:02:36 -0400 From: "Richard W.M. Jones" Date: Fri, 22 Apr 2016 14:02:27 +0100 Message-Id: <1461330148-21393-1-git-send-email-rjones@redhat.com> Subject: [Qemu-devel] [PATCH v5] Add optionrom compatible with fw_cfg DMA version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com, ehabkost@redhat.com, rth@twiddle.net, pbonzini@redhat.com, marc.mari.barcelo@gmail.com, stefanha@redhat.com, kraxel@redhat.com, lersek@redhat.com v4 -> v5: * Fix the initrd loading problem by fixing the get_e801_addr function so it really reads the values from the BIOS. Previously the function always returned 16MB, and so it only happened to work for initrd sizes < ~15MB, and broke for anything larger. Now the function is fixed, I tested it on 20MB & 350KB initrds and it worked for both. * Fix the Win32 cross-compiler issue by making the 'ld -m' (emulator) option conditional on CONFIG_WIN32. This change was not tested with the cross-compiler. Gerd, could you see if this fixes things? * Re-test. It knocks about 700ms off the libguestfs boot time. Rich.