update kvm accel flag

This commit is contained in:
2024-06-18 14:14:43 -07:00
parent bbab5c6184
commit c02e709c29
4 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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