Compare commits
2 commits
42ba33d46e
...
74c3aa7cdb
Author | SHA1 | Date | |
---|---|---|---|
|
74c3aa7cdb | ||
|
b4a171f178 |
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
name="$(basename "$0")"
|
name="$(basename "$0")"
|
||||||
cd "$(dirname "$(readlink -f "$0")")/.."
|
cd "$(dirname "$(readlink -f "$0")")/.."
|
||||||
exec screen -S "QEMU : ${name}" -d -m qemu-system-x86_64 \
|
exec screen -S "QEMU : ${name}" -d -m qemu-system-x86_64 \
|
||||||
-monitor stdio -enable-kvm -vnc :1 \
|
-monitor stdio -enable-kvm \
|
||||||
-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" \
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
name="$(basename "$0")"
|
name="$(basename "$0")"
|
||||||
cd "$(dirname "$(readlink -f "$0")")/.."
|
cd "$(dirname "$(readlink -f "$0")")/.."
|
||||||
exec screen -S "QEMU : ${name}" -d -m qemu-system-x86_64 \
|
exec screen -S "QEMU : ${name}" -d -m qemu-system-x86_64 \
|
||||||
-monitor stdio -enable-kvm -display gtk,zoom-to-fit=on \
|
-monitor stdio -enable-kvm \
|
||||||
-bios /usr/share/edk2/x64/OVMF_CODE.fd \
|
-bios /usr/share/edk2/x64/OVMF_CODE.fd \
|
||||||
-usb -device usb-ehci,id=ehci -device usb-host,bus=ehci.0,vendorid=1452 \
|
-usb -device usb-ehci,id=ehci -device usb-host,bus=ehci.0,vendorid=1452 \
|
||||||
-cpu host -smp "$(nproc)" \
|
-cpu host -smp "$(nproc)" \
|
||||||
|
|
Loading…
Reference in a new issue