acrn-hypervisor/hypervisor/include/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.h hv: microcode: Enable microcode update from SOS. 2018-05-15 17:19:37 +08:00
ucode.h hv: microcode: Enable microcode update from SOS. 2018-05-15 17:19:37 +08:00
vcpu.h apicv: cancel event injection if vcpu is scheduled out 2018-05-15 17:19:36 +08:00
vioapic.h initial import 2018-05-11 14:44:28 +08:00
vlapic.h hv: vlapic: simple vlapic_rd/wr input 2018-05-15 17:19:38 +08:00
vm.h add IO requrest 'req_buf' check before reference 2018-05-15 17:25:27 +08:00
vpic.h initial import 2018-05-11 14:44:28 +08:00