mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 04:09:11 +00:00
acrn-config: refine slot assignment for launch config
When passthrough device for VM, if there is no fun0 of the slot was passed in, PCI expansion card can not respond as a device, it must implement at least function number 0. Tracked-On: #4641 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
@@ -151,6 +151,7 @@ class PthruSelected():
|
||||
# check connections between several pass-through devices
|
||||
launch_cfg_lib.pt_devs_check_audio(self.bdf['audio'], self.bdf['audio_codec'])
|
||||
launch_cfg_lib.bdf_duplicate_check(self.bdf)
|
||||
launch_cfg_lib.check_slot(self.slot)
|
||||
|
||||
|
||||
class VirtioDeviceSelect():
|
||||
|
Reference in New Issue
Block a user