Home
last modified time | relevance | path

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

/openbmc/qemu/include/sysemu/
H A Dkvm_int.h118 int max_nested_state_len; member
/openbmc/qemu/target/i386/
H A Dmachine.c1190 int max_nested_state_len = kvm_max_nested_state_length(); in nested_state_post_load() local
1197 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()
/openbmc/qemu/target/i386/kvm/
H A Dkvm.c2077 int max_nested_state_len; in kvm_arch_init_vcpu() local
2334 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() local
5201 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() local
5222 env->nested_state->size = max_nested_state_len; in kvm_get_nested_state()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c2688 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()