]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c
selftests: kvm: vmx_set_nested_state_test: don't check for VMX support twice
[mirror_ubuntu-eoan-kernel.git] / tools / testing / selftests / kvm / x86_64 / vmx_set_nested_state_test.c
index 853e370e8a3942c559925f37d0387e68a81aeef0..a6d85614ae4d6f92c78617fc46020f338c90d00f 100644 (file)
@@ -271,12 +271,7 @@ int main(int argc, char *argv[])
        state.flags = KVM_STATE_NESTED_RUN_PENDING;
        test_nested_state_expect_einval(vm, &state);
 
-       /*
-        * TODO: When SVM support is added for KVM_SET_NESTED_STATE
-        *       add tests here to support it like VMX.
-        */
-       if (entry->ecx & CPUID_VMX)
-               test_vmx_nested_state(vm);
+       test_vmx_nested_state(vm);
 
        kvm_vm_free(vm);
        return 0;