aboutsummaryrefslogtreecommitdiff
path: root/qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'qemu.sh')
-rwxr-xr-xqemu.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/qemu.sh b/qemu.sh
new file mode 100755
index 0000000..559313a
--- /dev/null
+++ b/qemu.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+image=$1
+echo $image
+qemu-system-x86_64 -enable-kvm \
+ -drive format=raw,file=$image,if=virtio \
+ -net none \
+ -m 512M \
+ -bios /usr/share/ovmf/x64/OVMF.fd \
+ -boot menu=on