mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
hv: refine init_one_dev_config
The init_one_dev_config is used to initialize a acrn_vm_pci_dev_config SRIOV needs a explicit acrn_vm_pci_dev_config to create a VF vdev,so refine it to return acrn_vm_pci_dev_config. Tracked-On: #4433 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -14,6 +14,6 @@
|
||||
extern struct acrn_vm_pci_dev_config sos_pci_devs[CONFIG_MAX_PCI_DEV_NUM];
|
||||
|
||||
struct pci_pdev;
|
||||
void init_one_dev_config(struct pci_pdev *pdev);
|
||||
struct acrn_vm_pci_dev_config *init_one_dev_config(struct pci_pdev *pdev);
|
||||
|
||||
#endif /* PCI_DEV_H_ */
|
||||
|
Reference in New Issue
Block a user