1 Star 3 Fork 1

Wine助手 / tproxy-jiasuqi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
vm-cli.sh 721 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
pwd="$(realpath "$(dirname "$0")")"
source "$pwd/linux/jiasuqi.conf"
sudo qemu-system-x86_64 -enable-kvm -daemonize \
-cpu host \
-smp 2,sockets=1,cores=2,threads=1 \
-drive file="$pwd/vm/windows.img",if=virtio \
-net nic,model=virtio \
-net tap,ifname=$INTERFACE,script="$pwd/linux/vm-up.sh",downscript="$pwd/linux/vm-down.sh" \
-m 2G \
-vga qxl \
-spice addr=127.0.0.1,port=$SPICE_PORT,disable-ticketing \
-machine usb=on \
-device usb-tablet \
-device virtio-serial \
-chardev spicevmc,id=vdagent,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
"$@"
exec remote-viewer --title Windows spice://127.0.0.1:$SPICE_PORT
1
https://gitee.com/winegame/tproxy-jiasuqi.git
git@gitee.com:winegame/tproxy-jiasuqi.git
winegame
tproxy-jiasuqi
tproxy-jiasuqi
master

搜索帮助