Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c958 static int nested_size = -1; in vcpu_save_state() local
960 if (nested_size == -1) { in vcpu_save_state()
961 nested_size = kvm_check_cap(KVM_CAP_NESTED_STATE); in vcpu_save_state()
962 TEST_ASSERT(nested_size <= sizeof(state->nested_), in vcpu_save_state()
964 nested_size, sizeof(state->nested_)); in vcpu_save_state()
988 if (nested_size) { in vcpu_save_state()
992 TEST_ASSERT(state->nested.size <= nested_size, in vcpu_save_state()
994 state->nested.size, nested_size); in vcpu_save_state()