From df90539b9e7ee75c206d5b77d4f1b94882d090c7 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Wed, 1 Feb 2023 16:57:26 -0600 Subject: Add guest provisioning scripts and instructions --- qemu/launch.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 qemu/launch.sh (limited to 'qemu/launch.sh') diff --git a/qemu/launch.sh b/qemu/launch.sh new file mode 100755 index 0000000..c99e54e --- /dev/null +++ b/qemu/launch.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +set -ex + +gitroot=$(git rev-parse --show-toplevel) +cd "$gitroot/qemu" + +sudo LIBVIRT_DEBUG=1 virsh net-start default 2>&1 | grep -i warning || true + +sudo PREFIX=$gitroot/AMDSEV $gitroot/AMDSEV/launch-qemu.sh \ + -hda debian11.qcow2 \ + -console serial \ + -vnc 1 \ + -mem 2024 \ + -smp 1,cores=4,threads=2 \ + -allow-debug + -- cgit v1.2.3-71-gd317