acrn-hypervisor/hypervisor/arch/x86
Mingqiang Chi 85ececd2d7 hv:Simplify for-loop when walk through the vcpu
-- Not return NULL for vcpu_from_vid
  We have replaced dynamic memory with static memory for vcpu,
  then if vcpu_id is valid, this API should not return NULL.
-- Simplify the for-loop when walk through the vcpu

Tracked-On: #861
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com>
Reviewed-by: Anthony Xu <anthony.xu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-10-19 14:23:08 +08:00
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
guest hv:Simplify for-loop when walk through the vcpu 2018-10-19 14:23:08 +08:00
assign.c hv:Replace dynamic memory with static for vm 2018-10-09 13:24:21 +08:00
cpu_primary.S hv: fix 'User name starts with underscore' 2018-09-30 14:45:37 +08:00
cpu_save_boot_ctx.S hv: add struct acrn_vcpu_regs 2018-09-29 09:24:00 +08:00
cpu_state_tbl.c HV: Add const qualifiers where required 2018-08-17 10:02:12 +08:00
cpu.c hv: x2apic support for acrn 2018-10-17 08:46:42 +08:00
cpuid.c hv: arch: fix 'Unused procedure parameter' 2018-09-26 10:48:55 +08:00
ept.c hv: fix 'No brackets to then/else' 2018-10-11 16:48:11 +08:00
gdt.c HV: Removed the unused parameters and union from gdt 2018-08-27 09:40:25 +08:00
idt.S hv: Leave interrupts disabled during vmexit - ACRN partition mode 2018-08-31 08:48:47 +08:00
io.c hv:Replace dynamic memory with static for vcpu 2018-10-15 13:44:25 +08:00
ioapic.c HV: refine APIC base address to platform acpi info 2018-10-18 09:26:59 +08:00
irq.c hv: x2apic support for acrn 2018-10-17 08:46:42 +08:00
Kconfig HV: move NR_IOAPICS to platform acpi info 2018-10-18 09:26:59 +08:00
lapic.c hv: x2apic support for acrn 2018-10-17 08:46:42 +08:00
mmu.c HV:MM:gpa2hpa related error checking fix 2018-10-11 15:16:11 +08:00
mtrr.c HV:fix 'missing for discarded return value' violations 2018-10-16 13:31:02 +08:00
notify.c hv: x2apic support for acrn 2018-10-17 08:46:42 +08:00
pagetable.c hv: fix 'No brackets to then/else' 2018-10-11 16:48:11 +08:00
pm.c HV: platform acpi info refactor 2018-10-18 09:26:59 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
static_checks.c hv: add struct acrn_vcpu_regs 2018-09-29 09:24:00 +08:00
timer.c hv: x2apic support for acrn 2018-10-17 08:46:42 +08:00
trampoline.S hv: fix 'User name starts with underscore' 2018-09-30 14:45:37 +08:00
trusty.c fix "use of single line comments(s) //" 2018-10-17 16:16:31 +08:00
virq.c hv: retain rip if the fault is injected to guest 2018-10-17 10:05:36 +08:00
vmexit.c hv: fix 'No brackets to then/else' 2018-10-11 16:48:11 +08:00
vmx_asm.S fix spec_ctrl msr save/restore 2018-08-16 16:24:13 +08:00
vmx.c hv:enable APICv-Posted Interrupt 2018-10-15 22:18:24 +08:00
vtd.c hv: x2apic support for acrn 2018-10-17 08:46:42 +08:00
wakeup.S hv: fix 'User name starts with underscore' 2018-09-30 14:45:37 +08:00