qemu/x86*: update instructions to use virtio
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 29 Apr 2016 17:38:26 +0000 (14:38 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 30 Apr 2016 12:58:10 +0000 (14:58 +0200)
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>
board/qemu/x86/readme.txt
board/qemu/x86_64/readme.txt

index 62c51b0f998be25e04a96fc40da91a190c017a9c..4f2e4c7da3a4d669f2773d5eda6cd1084c18659c 100644 (file)
@@ -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
index e2be5745ea54175cf983b99451005fdd5b173a3f..6ea28d397f1df5f0721c7d585e07ea0868b82728 100644 (file)
@@ -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