diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-02-02 09:42:58 -0600 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-02-02 09:42:58 -0600 |
| commit | da9326a66bd534de38ab07dac96e8af051e94923 (patch) | |
| tree | 4fce93e7632176805f626c20ae926c2e914918b7 /qemu | |
| parent | df90539b9e7ee75c206d5b77d4f1b94882d090c7 (diff) | |
| download | cachepc-da9326a66bd534de38ab07dac96e8af051e94923.tar.gz cachepc-da9326a66bd534de38ab07dac96e8af051e94923.zip | |
Add event batching and handling of instructions loads on page boundaries for CPC_TRACK_PAGES
Diffstat (limited to 'qemu')
| -rwxr-xr-x | qemu/install.sh | 2 | ||||
| -rwxr-xr-x | qemu/launch-victim.sh | 6 | ||||
| -rwxr-xr-x | qemu/launch.sh | 2 | ||||
| -rwxr-xr-x | qemu/ssh.sh | 3 |
4 files changed, 8 insertions, 5 deletions
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 |
