1 Star 5 Fork 2

Wine助手 / tproxy-jiasuqi

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
vm-cli.sh 721 Bytes
Copy Edit Raw Blame History
#!/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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/winegame/tproxy-jiasuqi.git
git@gitee.com:winegame/tproxy-jiasuqi.git
winegame
tproxy-jiasuqi
tproxy-jiasuqi
master

Search