mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-09 03:48:05 +00:00
runtime: failed to run in the case of ColdPlugVFIO
Add the missing port type in the DeviceInfo. Fixes: #9014 Signed-off-by: Guoqiang Ding <dgq8211@gmail.com>
This commit is contained in:
parent
65013205ed
commit
6068faf40b
@ -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