Re: [PATCH] tools: Fix virt-host-validate SEV detection

2021-10-06 Thread Andrea Bolognani
On Tue, Oct 05, 2021 at 10:41:47PM -0600, Jim Fehlig wrote: > virt-host-validate checks if AMD SEV is enabled by verifying > /sys/module/kvm_amd/parameters/sev is set to '1'. On a system > running kernel 5.13, the parameter is reported as 'Y'. To be > extra paranoid, add a check for 'y' along with

[PATCH] tools: Fix virt-host-validate SEV detection

2021-10-06 Thread Jim Fehlig
virt-host-validate checks if AMD SEV is enabled by verifying /sys/module/kvm_amd/parameters/sev is set to '1'. On a system running kernel 5.13, the parameter is reported as 'Y'. To be extra paranoid, add a check for 'y' along with 'Y' to complement the existing check for '1'. Fixes: https://bugzil