From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNIuu-0001kE-6r for qemu-devel@nongnu.org; Thu, 06 Aug 2015 07:00:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNIum-0005sL-TF for qemu-devel@nongnu.org; Thu, 06 Aug 2015 07:00:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNIum-0005s7-Nk for qemu-devel@nongnu.org; Thu, 06 Aug 2015 07:00:48 -0400 From: =?UTF-8?q?Marc=20Mar=C3=AD?= Date: Thu, 6 Aug 2015 13:00:16 +0200 Message-Id: <1438858816-29385-1-git-send-email-markmb@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] QEMU fw_cfg DMA interface List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: linux-kernel@vger.kernel.org, qemu-devel@nongnu.org, seabios@seabios.org Cc: Drew , Stefan Hajnoczi , Kevin O'Connor , Gerd Hoffmann , =?UTF-8?q?Marc=20Mar=C3=AD?= , Laszlo Implementation of the FW CFG DMA interface. When running a Linux guest on top of QEMU, using the -kernel options, thi= s is the timing improvement for x86: QEMU commit 2be4f242b50a8 and SeaBIOS commit 908a58c1d5ff QEMU startup time: .078 BIOS startup time: .060 Kernel setup time: .578 Total time: .716 QEMU with this patch series and SeaBIOS with this patch series QEMU startup time: .080 BIOS startup time: .039 Kernel setup time: .002 Total time: .121 QEMU startup time is the time between the start and the first kvm_entry. BIOS startup time is the time between the first kvm_entry and the start o= f function do_boot, in SeaBIOS. Kernel setup time is the time between the start of the function do_boot i= n SeaBIOS and the jump to the Linux kernel. As you can see, both the BIOS (because of ACPI tables and other configura= tions) and the Linux kernel boot (because of the copy to memory) are greatly improved with this new interface. Also, this new interface is an addon to the old interface. Both interface= s are compatible and interchangeable.