acrn-hypervisor/hypervisor/arch/x86/guest
Kaige Fu 4110f3a87f HV: Remove unnecessary vm0 check in vm0 specific func
Function prepare_vm0_memmap_and_e820 and init_vm0_boot_info are specific for vm0.
There is no need to check is_vm0 again in those functions.

This patch remove the unnecssary checks.

v1 -> v2:
   - Add pre-condition comment before the function as Junjie's suggestion.

Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-02 15:07:55 +08:00
..
guest.c HV: Remove unnecessary vm0 check in vm0 specific func 2018-07-02 15:07:55 +08:00
instr_emul_wrapper.c HV: Minor refactor to get_guest_paging_info 2018-07-02 10:46:41 +08:00
instr_emul_wrapper.h HV: treewide: convert hexadecimals used in bitops to unsigned 2018-06-21 13:12:39 +08:00
instr_emul.c fix "negative shift" 2018-06-22 12:18:45 +08:00
instr_emul.h instr_emul: remove unnecessary params in __decode_instruction 2018-06-11 12:14:43 +08:00
pm.c hv: trap vm0 write/read pm1a/pm1b registers 2018-06-29 00:50:01 +08:00
ucode.c HV:guest:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
vcpu.c HV:treewide:Cleanup the type for parameters of bitmap 2018-07-02 10:46:11 +08:00
vioapic.c HV: treewide: drop debug-only helpers in release build 2018-07-02 14:35:39 +08:00
vlapic_priv.h hv:merge struct lapic and lapic_regs to lapic_regs 2018-07-02 10:49:14 +08:00
vlapic.c HV: bug fix on emulating guest IPI 2018-07-02 12:48:32 +08:00
vm.c HV: Remove vm->attr.name 2018-07-02 10:48:36 +08:00
vmcall.c HV: Make all trace event prefix consist with TRACE 2018-07-02 10:46:41 +08:00
vmsr.c hv: intercept IA32_PAT MSR 2018-07-02 12:33:06 +08:00
vpic.c HV: vpic: add suffix 'U' to constants in unsigned contexts 2018-06-29 14:23:16 +08:00