Open l8huang opened 1 week ago
Hey @l8huang, thanks for bringing this to the runtime-go! It might take some time to review since it is a huge one. Btw, your commit messages (also GitHub's) are required to be revised to make the CI happy:
<INTRODUCTION ABOUT YOUR COMMIT>
Fixes: #<issue> (Not `Fix:`)
Signed-off-by: Xxx <Xxx@Xxx.com>
Hmm, the title SHOULD be changed to "runtime: implement..." instead of "runtime-go" :)
Would you mind splitting the runtime patch into two, one for introducing DAN, another one for adding VFIO? Please keep the commit to doing one thing only.
Would you mind splitting the runtime patch into two, one for introducing DAN, another one for adding VFIO? Please keep the commit to doing one thing only.
One PR with two commits or two PRs?
One PR with two commits or two PRs?
IMHO, two PRs are better. One PR with two commits is ok to me as well.
@justxuewei changes are split into different PRs, please take a look at https://github.com/kata-containers/kata-containers/pull/9895 and this one -- the VFIO part depends on this PR, I will push it later.
I think the new item should be added into config templates, which can be found at https://github.com/kata-containers/kata-containers/tree/main/src/runtime/config. You might refer to https://github.com/kata-containers/kata-containers/blob/main/src/runtime-rs/config/configuration-dragonball.toml.in#L376.
The DAN feature has already been implemented in kata-runtime-rs, and this commit brings the same capability to the Go kata-runtime.
Fixes: https://github.com/kata-containers/kata-containers/issues/9758