[PATCH v2 3/7] qemu: check if AMD secure guest support is enabled

Erik Skultety eskultet at redhat.com
Mon Jun 8 14:37:45 UTC 2020

On Fri, May 29, 2020 at 12:10:05PM +0200, Paulo de Rezende Pinatti wrote:
> Implement secure guest check for AMD SEV (Secure Encrypted
> Virtualization) in order to invalidate the qemu capabilities
> cache in case the availability of the feature changed.
> For AMD SEV the verification consists of:
>  - checking if /sys/module/kvm_amd/parameters/sev contains the
>    value '1': meaning SEV is enabled in the host kernel;
>  - checking if /dev/sev exists
> Signed-off-by: Paulo de Rezende Pinatti <ppinatti at linux.ibm.com>
> Signed-off-by: Boris Fiuczynski <fiuczy at linux.ibm.com>
> Reviewed-by: Bjoern Walk <bwalk at linux.ibm.com>
> ---
Reviewed-by: Erik Skultety <eskultet at redhat.com>

More information about the libvir-list mailing list