mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
51501c0e85
commit
f282b13a27
@@ -1,9 +1,9 @@
|
|||||||
Run the emulation with:
|
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.
|
Optionally add -smp N to emulate a SMP system with N CPUs.
|
||||||
|
|
||||||
The login prompt will appear in the graphical window.
|
The login prompt will appear in the graphical window.
|
||||||
|
|
||||||
Tested with QEMU 2.3.0
|
Tested with QEMU 2.5.0
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
Run the emulation with:
|
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.
|
Optionally add -smp N to emulate a SMP system with N CPUs.
|
||||||
|
|
||||||
The login prompt will appear in the graphical window.
|
The login prompt will appear in the graphical window.
|
||||||
|
|
||||||
Tested with QEMU 2.3.0
|
Tested with QEMU 2.5.0
|
||||||
|
|||||||
Reference in New Issue
Block a user