microsoft / hcsshim

Windows - Host Compute Service Shim
MIT License
567 stars 256 forks source link

Add support for late cloning #843

Open ambarve opened 4 years ago

ambarve commented 4 years ago

This issue is created to track the merging of late cloning PRs.

Overall code changes that are required for late cloning are split into 5 stacked PRs. Each PR builds on top of the previous one. Below are the links for each of these PRs.

  1. PR #839 This PR simply adds the go wrappers required for saving a HCS compute system which is used during template creation.
  2. PR #838 This PR adds the template and clone creation support in the uvm module.
  3. PR #837 This PR adds the set of functions required for adding network namespace and network endpoints to cloned UVMs.
  4. PR #840 This PR adds the set of functions that expose the late cloning functionality from hcsshim and adds new annotations for clients to use the late cloning feature.
  5. PR #841 This PR adds several end to end tests for the late cloning feature.

These PRs can be reviewed independently but it will easier if they are reviewed in the same order. Once all 5 PRs are approved, I will merged them in reverse order i.e the branch for the 5th PR will be merged into the branch for the 4th PR and then branch for the 4th PR will be merged back into the branch for the 3rd PR and so on.

ambarve commented 4 years ago

@kevpar, @katiewasnothere , @dcantah, @jstarks Please review these PRs when you can. Thanks.