aboutsummaryrefslogtreecommitdiff
path: root/utils/qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/qemu.sh')
-rwxr-xr-xutils/qemu.sh23
1 files changed, 0 insertions, 23 deletions
diff --git a/utils/qemu.sh b/utils/qemu.sh
deleted file mode 100755
index 11b82a6d..00000000
--- a/utils/qemu.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-PORTSDIR="$(dirname $(dirname $(realpath $0)))"
-SCRIPTDIR="$(dirname $(realpath $0))"
-
-[ -f /tmp/qemu-vm.img ] || {
- qemu-img create -f qcow2 /tmp/qemu-vm.img 50G
-}
-
-qemu-system-x86_64 -enable-kvm \
- -cpu host \
- -drive file=/tmp/qemu-vm.img,if=virtio \
- -device virtio-rng-pci \
- -m 2G \
- -smp 4 \
- -monitor stdio \
- -name "QEMU" \
- -boot d \
- -cdrom $@
-
-rm -f /tmp/qemu-vm.img
-
-exit 0