HV: merge sos_pci_dev config to sos macro

The pci_dev config settings of SOS are same so move the config interface
from vm_configurations.c to CONFIG_SOS_VM macro;

Tracked-On: #4616

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Victor Sun
2020-04-13 09:05:16 +08:00
committed by wenlingz
parent 55b50f408f
commit 7282b933fb
5 changed files with 3 additions and 9 deletions

View File

@@ -29,7 +29,9 @@
#define CONFIG_SOS_VM .load_order = SOS_VM, \
.uuid = SOS_VM_UUID, \
.severity = SEVERITY_SOS
.severity = SEVERITY_SOS, \
.pci_dev_num = SOS_EMULATED_PCI_DEV_NUM, \
.pci_devs = sos_pci_devs
#define CONFIG_SAFETY_VM(idx) .load_order = PRE_LAUNCHED_VM, \
.uuid = SAFETY_VM_UUID##idx, \