summaryrefslogtreecommitdiff
path: root/home/xyz/.local
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-01-05 20:06:25 -0800
committerXiao Pan <gky44px1999@gmail.com>2024-01-05 20:06:25 -0800
commit5efa3561c8f2bb1b6f6bcd9fc086c52765b64818 (patch)
treea0a0fd06965094cdffd98fef3d59ad28ff27277d /home/xyz/.local
parent29dc6eba813f499cc3b735ad2fb57e4029645572 (diff)
update
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-xhome/xyz/.local/bin/qw10
1 files changed, 9 insertions, 1 deletions
diff --git a/home/xyz/.local/bin/qw b/home/xyz/.local/bin/qw
index 6f2ba862..f965b21a 100755
--- a/home/xyz/.local/bin/qw
+++ b/home/xyz/.local/bin/qw
@@ -3,4 +3,12 @@
# For better performance, it needs CPU-pinning with `taskset`, GPU pass-through, and other more tweaks
# https://github.com/cardi/qemu-windows-10
# https://wiki.archlinux.org/title/QEMU
-qemu-system-x86_64 -drive file="$XDG_DOWNLOAD_DIR/qemu/win10.img",format=qcow2 -accel kvm -m 8G -cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time -smp 2,sockets=1,cores=1,threads=2 -display gtk,zoom-to-fit=on -nic user,hostfwd=::53683-:22 -usb -device usb-tablet
+qemu-system-x86_64 \
+ -accel kvm \
+ -cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time \
+ -display gtk,zoom-to-fit=on \
+ -drive file="$XDG_DOWNLOAD_DIR/qemu/win10.img",format=qcow2 \
+ -m 8G \
+ -nic user,hostfwd=::53683-:22 \
+ -smp 2,sockets=1,cores=1,threads=2 \
+ -usb -device usb-tablet