Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1022 static int nested_size = -1; in vcpu_save_state() local
1024 if (nested_size == -1) { in vcpu_save_state()
1025 nested_size = kvm_check_cap(KVM_CAP_NESTED_STATE); in vcpu_save_state()
1026 TEST_ASSERT(nested_size <= sizeof(state->nested_), in vcpu_save_state()
1028 nested_size, sizeof(state->nested_)); in vcpu_save_state()
1073 if (nested_size) { in vcpu_save_state()
1078 TEST_ASSERT(state->nested.size <= nested_size, in vcpu_save_state()
1080 state->nested.size, nested_size); in vcpu_save_state()