From 5efa3561c8f2bb1b6f6bcd9fc086c52765b64818 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Fri, 5 Jan 2024 20:06:25 -0800 Subject: update --- home/xyz/.local/bin/qw | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'home/xyz/.local') 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 -- cgit v1.2.3-70-g09d2