xref: /OK3568_Linux_fs/buildroot/board/qemu/s390x/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunRun the emulation with:
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun  qemu-system-s390x -M s390-ccw-virtio -cpu max,zpci=on -m 4G -smp 2 \
4*4882a593Smuzhiyun    -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw \
5*4882a593Smuzhiyun    -append "rootwait root=/dev/vda net.ifnames=0 biosdevname=0" -display none -serial mon:stdio \
6*4882a593Smuzhiyun    -net nic,model=virtio -net user # qemu_s390x_defconfig
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunThe login prompt will appear in the terminal that started Qemu.
9