acrn-hypervisor/hypervisor/arch/x86
Jason Chen CJ 570aef648a instr_emul: refine decode_instruction with copy_from_gva
use copy_from_gva in vie_init, if copy_from_gva meet -EFAULT, inject #PF.
And for decode_instruction, if return -EFAULT, the caller should keep return
path with successful status.

v2:
- remove vm_restart_instruction when inject #PF

Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
2018-06-11 12:14:43 +08:00
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
debug HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
guest instr_emul: refine decode_instruction with copy_from_gva 2018-06-11 12:14:43 +08:00
assign.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu_primary.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu_state_tbl.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu.c HV: config: adapt to the generated config.h 2018-06-08 17:21:13 +08:00
cpuid.c hv: enable MTRR virtualization 2018-06-08 12:06:15 +08:00
ept.c instr_emul: refine decode_instruction with copy_from_gva 2018-06-11 12:14:43 +08:00
gdt.c HV: config: adapt to the generated config.h 2018-06-08 17:21:13 +08:00
idt.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
interrupt.c apicv: only write VMX_ENTRY_EXCEPTION_EC when error code valid 2018-06-11 09:27:34 +08:00
intr_lapic.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
intr_main.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
io.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
ioapic.c HV: config: adapt to the generated config.h 2018-06-08 17:21:13 +08:00
irq.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
Kconfig HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
mmu.c hv: add APIs to allow updating EPT mem type 2018-06-08 12:06:15 +08:00
mtrr.c hv: update EPT when guests change MTRRs 2018-06-08 12:06:15 +08:00
notify.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
softirq.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
timer.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
trampline.S hv: add fixup to trampline code 2018-06-08 13:45:02 +08:00
trusty.c trusty: invept should go through all vcpus 2018-06-07 12:28:18 +08:00
vmexit.c fix MISRA C"Literal zero used in pointer context" 2018-06-11 12:13:43 +08:00
vmx_asm.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vmx.c fix MISRA C"Literal zero used in pointer context" 2018-06-11 12:13:43 +08:00
vtd.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00