【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
#!/bin/sh
qemu-system-x86_64 -enable-kvm -smp 2,cores=2,sockets=1 -m 2048 system.vdi \
-rtc base=localtime -vnc :2 \
-machine usb=on -device usb-tablet \
-netdev user,id=mynet,hostfwd=tcp::10000-:3389 \
-device e1000,netdev=mynet &
#-cdrom /home/wen/tmp/cn_visual_studio_2010_professional_x86_dvd_532145.iso \
#-netdev bridge,id=mytap,br=virbr0 \
#-vnc :1 \
#--device e1000,netdev=mytap &
#-spice port=9988,password=1234 \
#-netdev tap,id=mytap,ifname=br0,script=no,downscript=no \
#-device rtl8139,netdev=mytap
来源:oschina
链接:https://my.oschina.net/u/3741382/blog/3153677