From da9326a66bd534de38ab07dac96e8af051e94923 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Thu, 2 Feb 2023 09:42:58 -0600 Subject: Add event batching and handling of instructions loads on page boundaries for CPC_TRACK_PAGES --- qemu/install.sh | 2 +- qemu/launch-victim.sh | 6 +++--- qemu/launch.sh | 2 +- qemu/ssh.sh | 3 +++ 4 files changed, 8 insertions(+), 5 deletions(-) create mode 100755 qemu/ssh.sh (limited to 'qemu') diff --git a/qemu/install.sh b/qemu/install.sh index a3740cc..068b254 100755 --- a/qemu/install.sh +++ b/qemu/install.sh @@ -5,7 +5,7 @@ set -ex gitroot=$(git rev-parse --show-toplevel) cd "$gitroot/qemu" -DISK="debian11.qcow2" +DISK="guest.qcow2" DEBIANISO="debian-11.4.0-amd64-DVD-1.iso" if [ ! -e "$DISK" ]; then diff --git a/qemu/launch-victim.sh b/qemu/launch-victim.sh index 80e84ad..2237520 100755 --- a/qemu/launch-victim.sh +++ b/qemu/launch-victim.sh @@ -10,15 +10,15 @@ if [ ! -e cmdline ]; then exit 1 fi -if [ ! -e debian11_encrypted.qcow2 ]; then +if [ ! -e guest_encrypted.qcow2 ]; then echo "Copying disk.." - rsync -a --info=progress2 debian11.qcow2 debian11_encrypted.qcow2 + rsync -a --info=progress2 guest.qcow2 guest_encrypted.qcow2 fi 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_encrypted.qcow2 \ + -hda guest_encrypted.qcow2 \ -console serial \ -vnc 1 \ -mem 2024 \ diff --git a/qemu/launch.sh b/qemu/launch.sh index c99e54e..e85c42e 100755 --- a/qemu/launch.sh +++ b/qemu/launch.sh @@ -8,7 +8,7 @@ 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 \ + -hda guest.qcow2 \ -console serial \ -vnc 1 \ -mem 2024 \ diff --git a/qemu/ssh.sh b/qemu/ssh.sh new file mode 100755 index 0000000..f1f1a84 --- /dev/null +++ b/qemu/ssh.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +ssh -p 8000 test@localhost -- cgit v1.2.3-71-gd317