summaryrefslogtreecommitdiff
path: root/home/xyz/.local
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-01-05 22:04:18 -0800
committerXiao Pan <gky44px1999@gmail.com>2024-01-05 22:04:18 -0800
commitbdd2285dff7911bf4d6df83d709ff67a487023fc (patch)
tree95013443f03d9f280374f55d65ff63eac8c440d0 /home/xyz/.local
parent5efa3561c8f2bb1b6f6bcd9fc086c52765b64818 (diff)
comments
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-xhome/xyz/.local/bin/qg3
-rwxr-xr-xhome/xyz/.local/bin/qw2
2 files changed, 3 insertions, 2 deletions
diff --git a/home/xyz/.local/bin/qg b/home/xyz/.local/bin/qg
index c465d8df..dde51909 100755
--- a/home/xyz/.local/bin/qg
+++ b/home/xyz/.local/bin/qg
@@ -1,7 +1,6 @@
#!/bin/sh
-# /home/xyz/.local/bin/qw
-# https://wiki.archlinux.org/title/QEMU
+# more resources see comments in my script qw
# https://guix.gnu.org/manual/en/html_node/Running-Guix-in-a-VM.html
# `-enable-kvm` same as `-accel kvm`, see archwiki
qemu-system-x86_64 \
diff --git a/home/xyz/.local/bin/qw b/home/xyz/.local/bin/qw
index f965b21a..e77b88f7 100755
--- a/home/xyz/.local/bin/qw
+++ b/home/xyz/.local/bin/qw
@@ -3,6 +3,8 @@
# 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
+## https://wiki.archlinux.org/title/QEMU#Mouse_integration
+# https://qemu-project.gitlab.io/qemu/system/devices/usb.html
qemu-system-x86_64 \
-accel kvm \
-cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time \