I have a TR 3990X platform with Manjaro being my host OS and serval virtual machines running under KVM. I’m following this doc trying to enable SEV, but no luck so far
Sounds like this may be a libvirt issue checking sev parameters - 2012386 – virt-host-validate: Detetion results of AMD SEV is not expected. It looks like the patch for this was merged into libvirt in November last year, and there have been many releases since then (0.8.6 was earlier this year). So I’m surprised you’re still hitting it.
~ cat /sys/module/kvm_amd/parameters/sev
Y
~ libvirtd --version
libvirtd (libvirt) 8.7.0
~ virt-host-validate
QEMU: Checking for hardware virtualization : PASS
QEMU: Checking if device /dev/kvm exists : PASS
QEMU: Checking if device /dev/kvm is accessible : PASS
QEMU: Checking if device /dev/vhost-net exists : PASS
QEMU: Checking if device /dev/net/tun exists : PASS
QEMU: Checking for cgroup 'cpu' controller support : PASS
QEMU: Checking for cgroup 'cpuacct' controller support : PASS
QEMU: Checking for cgroup 'cpuset' controller support : PASS
QEMU: Checking for cgroup 'memory' controller support : PASS
QEMU: Checking for cgroup 'devices' controller support : WARN (Enable 'devices' in kernel Kconfig file or mount/enable cgroup controller in your system)
QEMU: Checking for cgroup 'blkio' controller support : PASS
QEMU: Checking for device assignment IOMMU support : PASS
QEMU: Checking if IOMMU is enabled by kernel : PASS
QEMU: Checking for secure guest support : WARN (AMD Secure Encrypted Virtualization appears to be disabled in firmware.)
LXC: Checking for Linux >= 2.6.26 : PASS
LXC: Checking for namespace ipc : PASS
LXC: Checking for namespace mnt : PASS
LXC: Checking for namespace pid : PASS
LXC: Checking for namespace uts : PASS
LXC: Checking for namespace net : PASS
LXC: Checking for namespace user : PASS
LXC: Checking for cgroup 'cpu' controller support : PASS
LXC: Checking for cgroup 'cpuacct' controller support : PASS
LXC: Checking for cgroup 'cpuset' controller support : PASS
LXC: Checking for cgroup 'memory' controller support : PASS
LXC: Checking for cgroup 'devices' controller support : FAIL (Enable 'devices' in kernel Kconfig file or mount/enable cgroup controller in your system)
LXC: Checking for cgroup 'freezer' controller support : FAIL (Enable 'freezer' in kernel Kconfig file or mount/enable cgroup controller in your system)
LXC: Checking for cgroup 'blkio' controller support : PASS
LXC: Checking if device /sys/fs/fuse/connections exists : PASS
CH: Checking for hardware virtualization : PASS
CH: Checking if device /dev/kvm exists : PASS
CH: Checking if device /dev/kvm is accessible : PASS
Thanks for the information!
And sorry for the delay.
I was just giving up on this. Thanks to your link, now I’m doubting maybe this is a Manjaro thing. I’m going to try Fedora and Arch to see if it works!
Yeah I saw that too, and you are probably right. But the cpuinfo suggests my CPU does support SEV, so I’m still gonna try it. I’m also contacting MSI to see if they have any insight, maybe they will build a special version of BIOS for SEV support.