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
commit 1ab9a21492
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)