HV: find and hide serial PCI dev from service OS

serial PCI device is just used for HV/SOS output debug information;
because it is used in hypervisor layer, SOS should not touch it.
so need to check and hide it from SOS.

Tracked-On: #1923
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Minggui Cao
2018-11-29 14:59:10 +08:00
committed by wenlingz
parent 8d08ec30b7
commit db4254e2df
4 changed files with 21 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ void suspend_console(void) {}
void resume_console(void) {}
void uart16550_set_property(__unused bool enabled, __unused bool port_mapped, __unused uint64_t base_addr) {}
bool is_pci_dbg_uart(__unused union pci_bdf bdf_value) { return false; }
void shell_init(void) {}
void shell_kick(void) {}