Home
last modified time | relevance | path

Searched refs:emu_status (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/x86/hyperv/
H A Dhv_init.c145 struct hv_tsc_emulation_status emu_status; in hv_reenlightenment_notify() local
147 rdmsrl(HV_X64_MSR_TSC_EMULATION_STATUS, *(u64 *)&emu_status); in hv_reenlightenment_notify()
150 if (hv_reenlightenment_cb && emu_status.inprogress) in hv_reenlightenment_notify()
158 struct hv_tsc_emulation_status emu_status; in hyperv_stop_tsc_emulation() local
160 rdmsrl(HV_X64_MSR_TSC_EMULATION_STATUS, *(u64 *)&emu_status); in hyperv_stop_tsc_emulation()
161 emu_status.inprogress = 0; in hyperv_stop_tsc_emulation()
162 wrmsrl(HV_X64_MSR_TSC_EMULATION_STATUS, *(u64 *)&emu_status); in hyperv_stop_tsc_emulation()
/openbmc/qemu/target/i386/whpx/
H A Dwhpx-all.c884 WHV_EMULATOR_STATUS emu_status; in whpx_handle_mmio() local
889 &emu_status); in whpx_handle_mmio()
895 if (!emu_status.EmulationSuccessful) { in whpx_handle_mmio()
897 " EmulatorReturnStatus: %u", emu_status.AsUINT32); in whpx_handle_mmio()
909 WHV_EMULATOR_STATUS emu_status; in whpx_handle_portio() local
914 &emu_status); in whpx_handle_portio()
920 if (!emu_status.EmulationSuccessful) { in whpx_handle_portio()
922 " EmulatorReturnStatus: %u", emu_status.AsUINT32); in whpx_handle_portio()