acrn-hypervisor/hypervisor/include/dm
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
..
io_req.h hv: mmio: refine mmio access handle lock granularity 2020-02-24 16:17:38 +08:00
vacpi.h hv: vacpi: add ioapic madt table 2020-04-22 08:42:19 +08:00
vioapic.h hv: vioapic: expose ioapic to guest unconditionally 2020-07-10 19:33:46 +08:00
vpci.h hv: vpci: a minor fix about is_zombie_vf 2020-06-21 12:07:15 +08:00
vpic.h hv: vpic: remove vm structure pointer from vpic 2020-03-31 10:57:47 +08:00
vuart.h hv: Introduce Global System Interrupt (GSI) into INTx Remapping 2020-03-25 09:36:18 +08:00