@virtmaint-sig/sev-snp-coconut
Project ID: 96285
Description
virt packages with coconut-svsm enablement patches
Installation Instructions
For starters, you need an AMD SNP capable host.
Prepare a VM image:
# Change these as desired
DISK=/var/lib/libvirt/images/snp.qcow2
CLOUDIMG=https://dl.fedoraproject.org/pub/fedora/linux/releases/38/Cloud/x86_64/images/Fedora-Cloud-Base-38-1.6.x86_64.qcow2
ROOTPASS=root
# Download and prep the image
sudo wget $CLOUDIMG -O $DISK
sudo qemu-img resize $DISK +10G
echo $ROOTPASS > rootpass
sudo virt-install --osinfo fedora-unknown --transient --destroy-on-exit --boot uefi --cloud-init root-password-file=`pwd`/rootpass --tpm none --disk $DISK
# Inside the VM
dnf copr enable -y @virtmaint-sig/sev-snp-coconut
dnf install -y kernel-snp-coconut
poweroff
On the SNP host
sudo dnf copr enable -y @virtmaint-sig/sev-snp-coconut
sudo dnf install edk2-ovmf-coconutsvsm kernel-snp-coconut coconut-svsm qemu-system-x86\*coconutsvsm\*
git clone https://github.com/crobinso/sev-scripts
./sev-scripts/snp/coconut.sh -disk /path/to/VM/disk/image.qcow2
Active Releases
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
Release | Architectures | Repo Download |
---|---|---|
Fedora 40 | x86_64 (2167)* | Fedora 40 (97 downloads) |
Fedora 41 | x86_64 (436)* | Fedora 41 (17 downloads) |
Fedora rawhide | x86_64 (700)* | Fedora rawhide (34 downloads) |
* Total number of downloaded packages.
Quick Enable
#> dnf copr enable @virtmaint-sig/sev-snp-coconut
More info about enabling Copr repositories