Merge pull request #8552 from deagon/fix/missing-port-type

runtime: missing port type in the DeviceInfo
This commit is contained in:
Alex Lyn
2024-02-06 10:56:46 +08:00
committed by GitHub

View File

@@ -100,6 +100,7 @@ func (endpoint *PhysicalEndpoint) Attach(ctx context.Context, s *Sandbox) error
Major: c.Major,
Minor: c.Minor,
ColdPlug: true,
Port: s.config.HypervisorConfig.ColdPlugVFIO,
}
_, err = s.AddDevice(ctx, d)