mirror of
https://github.com/hectorm/docker-qemu-reactos
synced 2025-01-09 02:27:13 +00:00
Emulate the host processor
This commit is contained in:
parent
cc0409831a
commit
49ed398608
@ -10,7 +10,7 @@ set -- "$@" -drive file=/var/lib/qemu/image/reactos.qcow2,index=0,media=disk,for
|
|||||||
set -- "$@" -usb -device usb-tablet -k "${VM_KEYBOARD:?}"
|
set -- "$@" -usb -device usb-tablet -k "${VM_KEYBOARD:?}"
|
||||||
|
|
||||||
if [ "${VM_KVM:?}" = true ] && [ -c /dev/kvm ]; then
|
if [ "${VM_KVM:?}" = true ] && [ -c /dev/kvm ]; then
|
||||||
set -- "$@" -accel kvm
|
set -- "$@" -accel kvm -cpu host
|
||||||
else
|
else
|
||||||
set -- "$@" -accel tcg
|
set -- "$@" -accel tcg
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user