Searched refs:max_nested_state_len (Results 1 – 4 of 4) sorted by relevance
118 int max_nested_state_len; member
1190 int max_nested_state_len = kvm_max_nested_state_length(); in nested_state_post_load() local1197 if (max_nested_state_len <= 0) { in nested_state_post_load()1213 if (nested_state->size > max_nested_state_len) { in nested_state_post_load()1216 nested_state->size, max_nested_state_len); in nested_state_post_load()
2077 int max_nested_state_len; in kvm_arch_init_vcpu() local2334 max_nested_state_len = kvm_max_nested_state_length(); in kvm_arch_init_vcpu()2335 if (max_nested_state_len > 0) { in kvm_arch_init_vcpu()2336 assert(max_nested_state_len >= offsetof(struct kvm_nested_state, data)); in kvm_arch_init_vcpu()2339 env->nested_state = g_malloc0(max_nested_state_len); in kvm_arch_init_vcpu()2340 env->nested_state->size = max_nested_state_len; in kvm_arch_init_vcpu()5179 int max_nested_state_len = kvm_max_nested_state_length(); in kvm_put_nested_state() local5201 assert(env->nested_state->size <= max_nested_state_len); in kvm_put_nested_state()5208 int max_nested_state_len = kvm_max_nested_state_length(); in kvm_get_nested_state() local5222 env->nested_state->size = max_nested_state_len; in kvm_get_nested_state()
2688 s->max_nested_state_len = kvm_check_extension(s, KVM_CAP_NESTED_STATE); in kvm_init()3434 return kvm_state->max_nested_state_len; in kvm_max_nested_state_length()