mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
HV: move vCOM setting from Kconfig to board configs
The settings of SOS VM COM1 which is used for console is board specific, and this result in SOS VM COM2 which used for VM communication is also board specific, so move the configure method from Kconfig to board configs folder. The MACRO definition will be handled by acrn-config tool in future. Tracked-On: #3602 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
5dd07f7113
commit
c8cdc7e807
@@ -161,8 +161,8 @@ void vuart_toggle_intr(const struct acrn_vuart *vu)
|
||||
vioapic_get_rte(vu->vm, vu->irq, &rte);
|
||||
|
||||
/* TODO:
|
||||
* Here should assert vuart irq according to CONFIG_COM_IRQ polarity.
|
||||
* The best way is to get the polarity info from ACIP table.
|
||||
* Here should assert vuart irq according to vCOM1_IRQ polarity.
|
||||
* The best way is to get the polarity info from ACPI table.
|
||||
* Here we just get the info from vioapic configuration.
|
||||
* based on this, we can still have irq storm during guest
|
||||
* modify the vioapic setting, as it's only for debug uart,
|
||||
|
Reference in New Issue
Block a user