hv: vpci: add emulated PCI device configure for SOS

Add emulated PCI device configure for SOS to prepare for add support for customizing
special pci operations for each emulated PCI device.

Tracked-On: #3475
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
Li, Fei1
2019-08-07 22:06:11 +08:00
committed by ACRN System Integration
parent 973ba5b63f
commit ff54fa2325
11 changed files with 73 additions and 36 deletions

View File

@@ -448,8 +448,6 @@ int32_t create_vm(uint16_t vm_id, struct acrn_vm_config *vm_config, struct acrn_
status = init_vm_boot_info(vm);
if (status != 0) {
need_cleanup = true;
} else {
initialize_sos_pci_dev_config(vm_config);
}
} else {
/* For PRE_LAUNCHED_VM and POST_LAUNCHED_VM */