kata-containers / kata-containers

Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/
Apache License 2.0
5.08k stars 1k forks source link

runtime-rs: bugfix for root bus slot allocation #9814

Open Apokleos opened 2 weeks ago

Apokleos commented 2 weeks ago

There's no point that allocating root bus slot starting from zero. This is used to correct the starting index with 1 replacing original 0.

Fixes #9813

Apokleos commented 2 weeks ago

CC @zvonkok @lifupan

zvonkok commented 2 weeks ago

I am confused why we cannot start at zero.

amshinde commented 2 weeks ago

Same question as @zvonkok, why cant the index start from 0?