Skip to content
Commit 1e8ff29f authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

selftests: KVM: allow sev_migrate_tests on machines without SEV-ES



I managed to get hold of a machine that has SEV but not SEV-ES, and
sev_migrate_tests fails because sev_vm_create(true) returns ENOTTY.
Fix this, and while at it also return KSFT_SKIP on machines that do
not have SEV at all, instead of returning 0.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent b2125513
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment