Home
last modified time | relevance | path

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

/openbmc/qemu/accel/hvf/
H A Dhvf-accel-ops.c63 HVFState *hvf_state; variable
71 for (x = 0; x < hvf_state->num_slots; ++x) { in hvf_find_overlap_slot()
72 slot = &hvf_state->slots[x]; in hvf_find_overlap_slot()
179 for (x = 0; x < hvf_state->num_slots; ++x) { in hvf_set_phys_mem()
180 mem = &hvf_state->slots[x]; in hvf_set_phys_mem()
186 if (x == hvf_state->num_slots) { in hvf_set_phys_mem()
346 hvf_state = s; in hvf_accel_init()
499 QTAILQ_INSERT_HEAD(&hvf_state->hvf_sw_breakpoints, bp, entry); in hvf_insert_breakpoint()
537 QTAILQ_REMOVE(&hvf_state->hvf_sw_breakpoints, bp, entry); in hvf_remove_breakpoint()
560 QTAILQ_FOREACH_SAFE(bp, &hvf_state->hvf_sw_breakpoints, entry, next) { in hvf_remove_all_breakpoints()
[all …]
H A Dhvf-all.c48 QTAILQ_FOREACH(bp, &hvf_state->hvf_sw_breakpoints, entry) { in hvf_find_sw_breakpoint()
58 return !QTAILQ_EMPTY(&hvf_state->hvf_sw_breakpoints); in hvf_sw_breakpoints_active()
/openbmc/qemu/target/i386/hvf/
H A Dhvf.c242 if (hvf_state->hvf_caps == NULL) { in hvf_arch_init_vcpu()
243 hvf_state->hvf_caps = g_new0(struct hvf_vcpu_caps, 1); in hvf_arch_init_vcpu()
269 &hvf_state->hvf_caps->vmx_cap_pinbased)) { in hvf_arch_init_vcpu()
273 &hvf_state->hvf_caps->vmx_cap_procbased)) { in hvf_arch_init_vcpu()
277 &hvf_state->hvf_caps->vmx_cap_procbased2)) { in hvf_arch_init_vcpu()
281 &hvf_state->hvf_caps->vmx_cap_entry)) { in hvf_arch_init_vcpu()
287 cap2ctrl(hvf_state->hvf_caps->vmx_cap_pinbased, in hvf_arch_init_vcpu()
292 cap2ctrl(hvf_state->hvf_caps->vmx_cap_procbased, in hvf_arch_init_vcpu()
307 cap2ctrl(hvf_state->hvf_caps->vmx_cap_procbased2, reqCap)); in hvf_arch_init_vcpu()
310 cap2ctrl(hvf_state->hvf_caps->vmx_cap_entry, 0)); in hvf_arch_init_vcpu()
/openbmc/qemu/include/sysemu/
H A Dhvf_int.h52 extern HVFState *hvf_state;
/openbmc/qemu/target/arm/hvf/
H A Dhvf.c804 ret = hv_vcpu_set_vtimer_offset(cpu->accel->fd, hvf_state->vtimer_offset); in hvf_put_registers()
1767 return mach_absolute_time() - hvf_state->vtimer_offset; in hvf_vtimer_val_raw()
2101 hvf_state->vtimer_offset = mach_absolute_time() - s->vtimer_val; in hvf_vm_state_change()
2111 hvf_state->vtimer_offset = mach_absolute_time(); in hvf_arch_init()