Searched refs:hvstate (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/ppc/ |
H A D | spapr_nested.c | 338 struct kvmppc_hv_guest_state *hvstate; in h_enter_nested() local 347 len = sizeof(*hvstate); in h_enter_nested() 348 hvstate = address_space_map(CPU(cpu)->as, hv_ptr, &len, false, in h_enter_nested() 350 if (len != sizeof(*hvstate)) { in h_enter_nested() 351 address_space_unmap(CPU(cpu)->as, hvstate, len, 0, false); in h_enter_nested() 355 memcpy(&hv_state, hvstate, len); in h_enter_nested() 357 address_space_unmap(CPU(cpu)->as, hvstate, len, len, false); in h_enter_nested() 468 struct kvmppc_hv_guest_state *hvstate; in spapr_exit_nested_hv() local 494 len = sizeof(*hvstate); in spapr_exit_nested_hv() 495 hvstate = address_space_map(CPU(cpu)->as, hv_ptr, &len, true, in spapr_exit_nested_hv() [all …]
|