From patchwork Fri Apr 29 17:38:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 616920 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 3qxLXV63P1z9t3f for ; Sat, 30 Apr 2016 03:38:50 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=zacarias.com.ar header.i=@zacarias.com.ar header.b=oK+D2jv2; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0A770C03DA; Fri, 29 Apr 2016 17:38:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id biFKWC6JBQUn; Fri, 29 Apr 2016 17:38:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 585D3C03C6; Fri, 29 Apr 2016 17:38:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 435591C0FD0 for ; Fri, 29 Apr 2016 17:38:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3F37F84DF2 for ; Fri, 29 Apr 2016 17:38:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V9jXtekRygSx for ; Fri, 29 Apr 2016 17:38:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.zacarias.com.ar (www.zacarias.com.ar [176.9.42.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6012784BEB for ; Fri, 29 Apr 2016 17:38:46 +0000 (UTC) Received: from asgard (cpe-186-22-138-122.telecentro-reversos.com.ar [186.22.138.122] (may be forged)) (authenticated bits=0) by www.zacarias.com.ar (8.15.1/8.15.1) with ESMTPSA id u3THcd33022040 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 29 Apr 2016 17:38:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1461951524; bh=4WhfYwHFuB0qfQymJKAE+e1VcRIaRv8Mqxg9TsYPY4U=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=oK+D2jv2RE3aazPS9Ynp/U4Xj2r+mH4bmnmav235jqN9mATyx40r1x/b+udIj06q/ I/QbhNPX18ARsriIazDKw55ZHxhjhwl7tDCZY/J33yJPJvp6/OH2Nxsb6GQw+5kdhp kW+twfEnk4GmH9jtEAhU86Auh3Eq0QgW66kvhNDw= Received: by asgard (sSMTP sendmail emulation); Fri, 29 Apr 2016 14:38:39 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Fri, 29 Apr 2016 14:38:26 -0300 Message-Id: <1461951506-12010-3-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1461951506-12010-1-git-send-email-gustavo@zacarias.com.ar> References: <1461951506-12010-1-git-send-email-gustavo@zacarias.com.ar> X-Virus-Scanned: clamav-milter 0.98.7 at www X-Virus-Status: Clean Subject: [Buildroot] [PATCH 3/3] qemu/x86*: update instructions to use virtio X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Switch the invocation command to use virtio-blk and virtio-net for better performance. Signed-off-by: Gustavo Zacarias --- board/qemu/x86/readme.txt | 4 ++-- board/qemu/x86_64/readme.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/qemu/x86/readme.txt b/board/qemu/x86/readme.txt index 62c51b0..4f2e4c7 100644 --- a/board/qemu/x86/readme.txt +++ b/board/qemu/x86/readme.txt @@ -1,9 +1,9 @@ Run the emulation with: - qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append root=/dev/sda -net nic,model=rtl8139 -net user + qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append root=/dev/vda -net nic,model=virtio -net user Optionally add -smp N to emulate a SMP system with N CPUs. The login prompt will appear in the graphical window. -Tested with QEMU 2.3.0 +Tested with QEMU 2.5.0 diff --git a/board/qemu/x86_64/readme.txt b/board/qemu/x86_64/readme.txt index e2be574..6ea28d3 100644 --- a/board/qemu/x86_64/readme.txt +++ b/board/qemu/x86_64/readme.txt @@ -1,9 +1,9 @@ Run the emulation with: - qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append root=/dev/sda -net nic,model=rtl8139 -net user + qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append root=/dev/vda -net nic,model=virtio -net user Optionally add -smp N to emulate a SMP system with N CPUs. The login prompt will appear in the graphical window. -Tested with QEMU 2.3.0 +Tested with QEMU 2.5.0