Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1024 static int nested_size = -1; in vcpu_save_state() local
1026 if (nested_size == -1) { in vcpu_save_state()
1027 nested_size = kvm_check_cap(KVM_CAP_NESTED_STATE); in vcpu_save_state()
1028 TEST_ASSERT(nested_size <= sizeof(state->nested_), in vcpu_save_state()
1030 nested_size, sizeof(state->nested_)); in vcpu_save_state()
1065 if (nested_size) { in vcpu_save_state()
1070 TEST_ASSERT(state->nested.size <= nested_size, in vcpu_save_state()
1072 state->nested.size, nested_size); in vcpu_save_state()