mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 22:24:14 +00:00
Merge pull request #8552 from deagon/fix/missing-port-type
runtime: missing port type in the DeviceInfo
This commit is contained in:
commit
1ab9a21492
@ -100,6 +100,7 @@ func (endpoint *PhysicalEndpoint) Attach(ctx context.Context, s *Sandbox) error
|
|||||||
Major: c.Major,
|
Major: c.Major,
|
||||||
Minor: c.Minor,
|
Minor: c.Minor,
|
||||||
ColdPlug: true,
|
ColdPlug: true,
|
||||||
|
Port: s.config.HypervisorConfig.ColdPlugVFIO,
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = s.AddDevice(ctx, d)
|
_, err = s.AddDevice(ctx, d)
|
||||||
|
Loading…
Reference in New Issue
Block a user