From c02e709c2958a894665de5487624891d801308c7 Mon Sep 17 00:00:00 2001 From: turtlebasket Date: Tue, 18 Jun 2024 14:14:43 -0700 Subject: [PATCH] update kvm accel flag --- thonkpad/nixhost/grun.sh | 2 +- thonkpad/nixhost/run.sh | 2 +- thonkpad/winhost/grun.sh | 4 ++-- thonkpad/winhost/run.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/thonkpad/nixhost/grun.sh b/thonkpad/nixhost/grun.sh index 24fa0dc..059e7ba 100755 --- a/thonkpad/nixhost/grun.sh +++ b/thonkpad/nixhost/grun.sh @@ -5,6 +5,6 @@ DRIVENAME=nixhost MEM_GB=1 -qemu-system-x86_64 -enable-kvm \ +qemu-system-x86_64 -accel kvm \ -m $(expr 1024 \* $MEM_GB) -drive file=./$DRIVENAME.qcow2,format=qcow2 diff --git a/thonkpad/nixhost/run.sh b/thonkpad/nixhost/run.sh index 4aa416c..0e0bf0b 100755 --- a/thonkpad/nixhost/run.sh +++ b/thonkpad/nixhost/run.sh @@ -4,7 +4,7 @@ DRIVENAME=nixhost MEM_GB=1 SSH_PORT=2022 -qemu-system-x86_64 -enable-kvm -nographic -vga none \ +qemu-system-x86_64 -accel kvm -nographic -vga none \ -net user,hostfwd=tcp::2022-:22 -net nic \ -m $(expr 1024 \* $MEM_GB) -drive file=./$DRIVENAME.qcow2,format=qcow2 diff --git a/thonkpad/winhost/grun.sh b/thonkpad/winhost/grun.sh index 6985ceb..008fa89 100755 --- a/thonkpad/winhost/grun.sh +++ b/thonkpad/winhost/grun.sh @@ -6,7 +6,7 @@ ISO=windows DRIVENAME=winhost MEM_GB=8 -qemu-system-x86_64 -enable-kvm \ +qemu-system-x86_64 -accel kvm \ -m $(expr 1024 \* $MEM_GB) -drive file=./$DRIVENAME.qcow2,format=qcow2 \ - -smp cores=2,threads=4 -vga virtio + -smp cores=2,threads=3 -vga virtio diff --git a/thonkpad/winhost/run.sh b/thonkpad/winhost/run.sh index 907f718..c0c77a6 100755 --- a/thonkpad/winhost/run.sh +++ b/thonkpad/winhost/run.sh @@ -6,7 +6,7 @@ ISO=windows DRIVENAME=winhost MEM_GB=8 -qemu-system-x86_64 -enable-kvm \ +qemu-system-x86_64 -accel kvm \ -m $(expr 1024 \* $MEM_GB) -drive file=./$DRIVENAME.qcow2,format=qcow2 \ -smp cores=2,threads=4 -nographic