Skip to content

refactor(mem): decouple hypervisor and struct Memory - #474

Merged
Lencerf merged 1 commit into
google:mainfrom
Lencerf:refactor/mem-hv-decouple
Jul 30, 2026
Merged

refactor(mem): decouple hypervisor and struct Memory#474
Lencerf merged 1 commit into
google:mainfrom
Lencerf:refactor/mem-hv-decouple

Conversation

@Lencerf

@Lencerf Lencerf commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@Lencerf
Lencerf force-pushed the refactor/mem-hv-decouple branch from 02ce2b5 to 914281c Compare July 30, 2026 08:21
@coveralls

coveralls commented Jul 30, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 30570863128

Coverage increased (+0.07%) to 27.814%

Details

  • Coverage increased (+0.07%) from the base build.
  • Patch coverage: 185 uncovered changes across 11 files (3 of 188 lines covered, 1.6%).
  • 4 coverage regressions across 2 files.

Uncovered Changes

Top 10 Files by Coverage Impact Changed Covered %
alioth/src/hv/kvm/vm/vm.rs 89 0 0.0%
alioth/src/hv/hvf/vm.rs 30 0 0.0%
alioth/src/board/board.rs 25 0 0.0%
alioth/src/board/board_amd64/sev.rs 10 0 0.0%
alioth/src/cpu/cpu_amd64/sev.rs 10 0 0.0%
alioth/src/mem/mem.rs 12 3 25.0%
alioth/src/board/board_amd64/board_amd64.rs 4 0 0.0%
alioth/src/board/board_amd64/tdx.rs 4 0 0.0%
alioth/src/cpu/cpu_amd64/tdx.rs 2 0 0.0%
alioth/src/board/board_arm64.rs 1 0 0.0%
Total (11 files) 188 3 1.6%

Coverage Regressions

4 previously-covered lines in 2 files lost coverage.

File Lines Losing Coverage Coverage
alioth/src/vm/vm.rs 3 0.0%
alioth/src/hv/hvf/vm.rs 1 0.0%

Coverage Stats

Coverage Status
Relevant Lines: 14729
Covered Lines: 3968
Line Coverage: 26.94%
Relevant Branches: 1270
Covered Branches: 482
Branch Coverage: 37.95%
Branches in Coverage %: Yes
Coverage Strength: 40.07 hits per line

💛 - Coveralls

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
@Lencerf
Lencerf force-pushed the refactor/mem-hv-decouple branch from 914281c to e32fad1 Compare July 30, 2026 18:32
@Lencerf
Lencerf merged commit e32fad1 into google:main Jul 30, 2026
12 checks passed
@Lencerf
Lencerf deleted the refactor/mem-hv-decouple branch July 30, 2026 19:26
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