Home
last modified time | relevance | path

Searched refs:nested_size (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c966 static int nested_size = -1; in vcpu_save_state() local
968 if (nested_size == -1) { in vcpu_save_state()
969 nested_size = kvm_check_cap(KVM_CAP_NESTED_STATE); in vcpu_save_state()
970 TEST_ASSERT(nested_size <= sizeof(state->nested_), in vcpu_save_state()
972 nested_size, sizeof(state->nested_)); in vcpu_save_state()
1017 if (nested_size) { in vcpu_save_state()
1022 TEST_ASSERT(state->nested.size <= nested_size, in vcpu_save_state()
1024 state->nested.size, nested_size); in vcpu_save_state()