cachepc-amdsev

Fork of AMDESE/AMDSEV with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-amdsev
Log | Files | Refs | README | sfeed.txt

install.sh (485B)


      1#!/bin/bash
      2
      3[ -e /etc/os-release ] && . /etc/os-release
      4
      5# This will install all the dependent packages for qemu and ovmf to run
      6if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then
      7	apt-get -y install qemu ovmf
      8else
      9	dnf install qemu edk2-ovmf
     10fi
     11
     12if [ "$ID" = "debian" ] || [ "$ID_LIKE" = "debian" ]; then
     13	dpkg -i linux/host/linux-image-*.deb
     14else
     15	rpm -ivh linux/kernel-*.rpm
     16fi
     17
     18cp kvm.conf /etc/modprobe.d/
     19
     20echo
     21echo "Reboot the host and select the SNP Host kernel"
     22echo