Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1049 static int nested_size = -1; in vcpu_save_state() local
1051 if (nested_size == -1) { in vcpu_save_state()
1052 nested_size = kvm_check_cap(KVM_CAP_NESTED_STATE); in vcpu_save_state()
1053 TEST_ASSERT(nested_size <= sizeof(state->nested_), in vcpu_save_state()
1055 nested_size, sizeof(state->nested_)); in vcpu_save_state()
1079 if (nested_size) { in vcpu_save_state()
1083 TEST_ASSERT(state->nested.size <= nested_size, in vcpu_save_state()
1085 state->nested.size, nested_size); in vcpu_save_state()