1*4882a593SmuzhiyunRun the emulation with: 2*4882a593Smuzhiyun 3*4882a593Smuzhiyun qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda console=tty1 console=ttyS0" -serial stdio -net nic,model=virtio -net user # qemu_x86_defconfig 4*4882a593Smuzhiyun 5*4882a593SmuzhiyunOptionally add -smp N to emulate a SMP system with N CPUs. 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunThe login prompt will appear in the graphical window. 8