summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-04-29 14:38:26 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-30 14:58:10 +0200
commitf282b13a2794399414fe00fc19ec423b8ac98bd5 (patch)
treebe201a62d1f000b4eabc99007eed88a322ca5b24
parent51501c0e8545483ae19c8653bf8e910000b55d21 (diff)
downloadbuildroot-f282b13a2794399414fe00fc19ec423b8ac98bd5.tar.gz
buildroot-f282b13a2794399414fe00fc19ec423b8ac98bd5.zip
qemu/x86*: update instructions to use virtio
Switch the invocation command to use virtio-blk and virtio-net for better performance. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--board/qemu/x86/readme.txt4
-rw-r--r--board/qemu/x86_64/readme.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/board/qemu/x86/readme.txt b/board/qemu/x86/readme.txt
index 62c51b0f99..4f2e4c7da3 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 e2be5745ea..6ea28d397f 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
OpenPOWER on IntegriCloud