From 411f3ecf495ead88dde1155aeb4c072edf7b4bea Mon Sep 17 00:00:00 2001 From: Pierrick Bouvier Date: Fri, 20 Dec 2024 13:54:59 -0800 Subject: [PATCH] test script discon Signed-off-by: Pierrick Bouvier --- test_discon.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 test_discon.sh diff --git a/test_discon.sh b/test_discon.sh new file mode 100755 index 000000000000..ceb99aa48a1d --- /dev/null +++ b/test_discon.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +set -euo pipefail + +./build.sh +./build/qemu-system-aarch64 -M virt\ + -plugin ./build/tests/tcg/plugins/libdiscons.so,abort=on\ + -m 8G -device virtio-blk-pci,drive=root \ + -drive if=none,id=root,file=/home/user/.work/images/debianaarch64.img \ + -M virt -cpu max,pauth=off \ + -drive if=pflash,readonly=on,file=/usr/share/AAVMF/AAVMF_CODE.fd \ + -drive if=pflash,file=/home/user/.work/images/AAVMF_VARS.fd \ + -d plugin,in_asm,op -D crash.log -display none