Script de lancement de Windows 10 avec QEMU { Ajout : option zoom-to-fit par défaut ; support du son
This commit is contained in:
parent
748bdf9c9a
commit
50bed26339
1 changed files with 2 additions and 2 deletions
|
@ -3,13 +3,13 @@ realpath="$(readlink -f "$0")"
|
||||||
realname="$(basename "$realpath")"
|
realname="$(basename "$realpath")"
|
||||||
cd "$(dirname "$realpath")/.."
|
cd "$(dirname "$realpath")/.."
|
||||||
exec screen -S "QEMU : ${realname}" -d -m qemu-system-x86_64 \
|
exec screen -S "QEMU : ${realname}" -d -m qemu-system-x86_64 \
|
||||||
-monitor stdio -enable-kvm \
|
-monitor stdio -enable-kvm -display gtk,zoom-to-fit=on \
|
||||||
-bios /usr/share/edk2/x64/OVMF_CODE.fd \
|
-bios /usr/share/edk2/x64/OVMF_CODE.fd \
|
||||||
-cpu host -smp "$(nproc)" \
|
-cpu host -smp "$(nproc)" \
|
||||||
-m 4G \
|
-m 4G \
|
||||||
-drive "file=images/$(basename "$0").qcow2,if=virtio" \
|
-drive "file=images/$(basename "$0").qcow2,if=virtio" \
|
||||||
-net nic -net "user,hostname=${realname}" \
|
-net nic -net "user,hostname=${realname}" \
|
||||||
-audiodev pa,id=snd0 \
|
-audiodev pa,id=snd0 -device ich9-intel-hda -device hda-output,audiodev=snd0 \
|
||||||
-usbdevice tablet \
|
-usbdevice tablet \
|
||||||
-name "$realname" \
|
-name "$realname" \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
Loading…
Reference in a new issue