acrn-hypervisor/hypervisor/arch/x86/guest
Yonghua Huang 9b37e1464c add IO requrest 'req_buf' check before reference
This address maybe invalid if a hostile address was set
in hypercall 'HC_SET_IOREQ_BUFFER'.it should be validated
before using.

Update:
  -- save HVA to guest OS's request buffer in hyperviosr
  -- change type of 'req_buf' from 'uint64_t' to 'void *'
  -- remove HPA to HVA translation code when using this addr.
  -- use error number instead of -1 when return error cases.

Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
2018-05-15 17:25:27 +08:00
..
guest.c mmu:create temporary page tables for guest at run time 2018-05-15 17:25:26 +08:00
instr_emul_wrapper.c initial import 2018-05-11 14:44:28 +08:00
instr_emul_wrapper.h hv: microcode: Enable microcode update from SOS. 2018-05-15 17:19:37 +08:00
instr_emul.c initial import 2018-05-11 14:44:28 +08:00
instr_emul.h initial import 2018-05-11 14:44:28 +08:00
time.h initial import 2018-05-11 14:44:28 +08:00
ucode.c cpuid restruct 2018-05-15 17:19:38 +08:00
vcpu.c mmu:create temporary page tables for guest at run time 2018-05-15 17:25:26 +08:00
vioapic.c initial import 2018-05-11 14:44:28 +08:00
vlapic_priv.h initial import 2018-05-11 14:44:28 +08:00
vlapic.c vlapic: apicv_get_apic_access_addr should get hpa 2018-05-15 17:25:26 +08:00
vm.c add IO requrest 'req_buf' check before reference 2018-05-15 17:25:27 +08:00
vmcall.c HV: add hypercall interface of get vcpu state data 2018-05-15 17:25:25 +08:00
vmsr.c VMX: bug fix on operating vmx 2018-05-15 17:25:27 +08:00
vpic.c vpic: use calloc to init vpic instead of malloc 2018-05-15 17:19:36 +08:00