Lines Matching refs:hax_global
31 struct hax_state hax_global; variable
179 if (!hax_global.vm) in hax_vcpu_create()
185 if (hax_global.vm->vcpus[id]) in hax_vcpu_create()
200 ret = hax_host_create_vcpu(hax_global.vm->fd, id); in hax_vcpu_create()
207 vcpu->fd = hax_host_open_vcpu(hax_global.vm->id, id); in hax_vcpu_create()
215 hax_global.vm->vcpus[id] = vcpu; in hax_vcpu_create()
231 hax_global.vm->vcpus[id] = NULL; in hax_vcpu_create()
240 if (!hax_global.vm) in hax_vcpu_destroy()
254 hax_global.vm->vcpus[vcpu->vcpu_id] = NULL; in hax_vcpu_destroy()
270 env->hax_vcpu = hax_global.vm->vcpus[env->cpu_index]; in hax_init_vcpu()
326 hax_global.vm = NULL; in hax_vm_destroy()
332 struct hax_state *hax = &hax_global; in hax_set_ramsize()
348 hax = &hax_global; in hax_init()