Skip to content

Conversation

@DorianZheng
Copy link
Member

Summary

  • Rename rootfs.rscontainer_rootfs.rs (Stage 2: container rootfs preparation)
  • Rename config.rsvmm_config.rs (Stage 4: VMM configuration)
  • Rename guest.rsguest_init.rs (Stage 6: guest initialization)
  • Rename RootfsPrepResultContainerRootfsPrepResult for consistency
  • Update doc comments to match new file names

Rationale

The previous names were ambiguous:

  • rootfs.rs - which rootfs? (we have guest rootfs too)
  • config.rs - config for what?
  • guest.rs - guest what?

New names clearly indicate what each stage does.

Test plan

  • cargo build -p boxlite passes
  • CI passes

- rootfs.rs → container_rootfs.rs (Stage 2: container rootfs prep)
- config.rs → vmm_config.rs (Stage 4: VMM configuration)
- guest.rs → guest_init.rs (Stage 6: guest initialization)
- RootfsPrepResult → ContainerRootfsPrepResult
- Update doc comments to match new names
@DorianZheng DorianZheng merged commit 75ca00f into main Dec 19, 2025
4 checks passed
@DorianZheng DorianZheng deleted the refactor/rename-init-stages branch December 19, 2025 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants