acrn-hypervisor/hypervisor/include
Yin Fegnwei 08139c34f7 hv: add vmx_off and update exec_vmxon_instr
To handle cpu down/up dynamically, arcn needs to support vmx off/on
dynamically. Following changes is introduced:
  vmx_off will be used when down AP. It does:
    - vmclear the mapped vcpu
    - off vmx.

  exec_vmxon_instr is updated to handle start and up AP both. It does
    - if vmx was on on AP, load the vmxon_region saved. Otherwise,
      allocate vmxon_region.
    - if there is mapped vcpu, vmptrld mapped vcpu.

Signed-off-by: Zheng Gen <gen.zheng@intel.com>
Signed-off-by: Yin Fegnwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com>
2018-06-07 15:36:46 +08:00
..
arch/x86 hv: add vmx_off and update exec_vmxon_instr 2018-06-07 15:36:46 +08:00
common HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
debug HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
lib license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
public license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hv_debug.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hv_lib.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hypervisor.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00