update kvm accel flag
parent
bbab5c6184
commit
c02e709c29
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue