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

2020-06-15 Thread Erik Skultety
On Mon, Jun 15, 2020 at 10:28:08AM +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

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

2020-06-15 Thread Paulo de Rezende Pinatti
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':