acrn-hypervisor/hypervisor/include
Li Fei1 80c7da8f1c hv: vioapic: expose ioapic to guest unconditionally
Some OSes assume the platform must have the IOAPIC. For example:
Linux Kernel allocates IRQ force from GSI (0 if there's no PIC and IOAPIC) on x86.
And it thinks IRQ 0 is an architecture special IRQ, not for device driver. As a
result, the device driver may goes wrong if the allocated IRQ is 0 for RTVM.

This patch expose vIOAPIC to RTVM with LAPIC passthru even though the RTVM can't
use IOAPIC, it servers as a place holder to fullfil the guest assumption.

After vIOAPIC has exposed to guest unconditionally, the 'ready' field could be
removed since we do vIOAPIC initialization for each guest.

Tracked-On: #4691
Signed-off-by: Li Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2020-07-10 19:33:46 +08:00
..
arch/x86 hv: vpci: a minor fix about is_zombie_vf 2020-06-21 12:07:15 +08:00
common hv: ptirq: associate an irte with ptirq_remapping_info entry 2020-06-16 08:52:56 +08:00
debug HV: correct ept page array usage 2020-03-12 14:56:34 +08:00
dm hv: vioapic: expose ioapic to guest unconditionally 2020-07-10 19:33:46 +08:00
hw remove pci_device_lock in pci.c 2020-06-19 16:13:20 +08:00
lib HV: enable multiboot module string as kernel bootargs 2020-06-08 13:30:04 +08:00
public hv: dynamically configure CPU affinity through hypercall 2020-04-23 09:38:54 +08:00