Files
acrn-hypervisor/hypervisor/arch/x86/guest
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
..
2020-01-14 10:21:23 +08:00
2020-04-16 21:59:03 +08:00
2019-12-02 09:31:12 +08:00
2020-06-19 16:13:20 +08:00
2020-06-18 14:05:56 +08:00
2019-07-19 16:47:06 +08:00
2020-05-21 15:08:49 +08:00
2020-06-18 14:05:56 +08:00
2020-04-17 09:53:59 +08:00
2019-05-07 09:10:13 +08:00
2020-02-25 09:08:14 +08:00