cachepc

Prime+Probe cache-based side-channel attack on AMD SEV-SNP protected virtual machines
git clone https://git.sinitax.com/sinitax/cachepc
Log | Files | Refs | Submodules | README | sfeed.txt

launch.sh (324B)


      1#!/bin/sh
      2
      3set -ex
      4
      5gitroot=$(git rev-parse --show-toplevel)
      6cd "$gitroot/qemu"
      7
      8sudo LIBVIRT_DEBUG=1 virsh net-start default 2>&1 | grep -i warning || true
      9
     10sudo PREFIX=$gitroot/AMDSEV $gitroot/AMDSEV/launch-qemu.sh \
     11	-hda guest.qcow2 \
     12	-console serial \
     13	-vnc 1 \
     14	-mem 2024 \
     15	-smp 1,cores=4,threads=2 \
     16	-allow-debug
     17