From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auj0J-0003cK-AN for qemu-devel@nongnu.org; Mon, 25 Apr 2016 12:04:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1auj0D-0003ai-OW for qemu-devel@nongnu.org; Mon, 25 Apr 2016 12:04:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1auj0D-0003ae-Ji for qemu-devel@nongnu.org; Mon, 25 Apr 2016 12:04:49 -0400 From: "Richard W.M. Jones" Date: Mon, 25 Apr 2016 17:04:40 +0100 Message-Id: <1461600281-23048-1-git-send-email-rjones@redhat.com> Subject: [Qemu-devel] [PATCH v6] 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, kraxel@redhat.com, lersek@redhat.com, stefanha@redhat.com v5 -> v6: - Changed the xen_load_linux assertion as suggested by Stefan. - I renamed the variables in get_e801_addr function, since the registers were really (16 bit 8086-style) AX, not EAX etc. Also I changed the GCC asm to make it a little bit more efficient. I verified by disassembling the function that GCC is still generating the right code after this change. - Re-tested with small (342K) libguestfs initramfs and with large (20M) Fedora initramfs, and works fine in both cases. Rich.