update kvm accel flag

master
michael 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 DRIVENAME=nixhost
MEM_GB=1 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 -m $(expr 1024 \* $MEM_GB) -drive file=./$DRIVENAME.qcow2,format=qcow2

View File

@ -4,7 +4,7 @@ DRIVENAME=nixhost
MEM_GB=1 MEM_GB=1
SSH_PORT=2022 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 \ -net user,hostfwd=tcp::2022-:22 -net nic \
-m $(expr 1024 \* $MEM_GB) -drive file=./$DRIVENAME.qcow2,format=qcow2 -m $(expr 1024 \* $MEM_GB) -drive file=./$DRIVENAME.qcow2,format=qcow2

View File

@ -6,7 +6,7 @@ ISO=windows
DRIVENAME=winhost DRIVENAME=winhost
MEM_GB=8 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 \ -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

View File

@ -6,7 +6,7 @@ ISO=windows
DRIVENAME=winhost DRIVENAME=winhost
MEM_GB=8 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 \ -m $(expr 1024 \* $MEM_GB) -drive file=./$DRIVENAME.qcow2,format=qcow2 \
-smp cores=2,threads=4 -nographic -smp cores=2,threads=4 -nographic