Skip to content

Support Linux guest kexec with HVF#363

Merged
Lencerf merged 3 commits intogoogle:mainfrom
Lencerf:feat/hvf/kexec
Jan 17, 2026
Merged

Support Linux guest kexec with HVF#363
Lencerf merged 3 commits intogoogle:mainfrom
Lencerf:feat/hvf/kexec

Conversation

@Lencerf
Copy link
Collaborator

@Lencerf Lencerf commented Jan 17, 2026

No description provided.

Modify `Vm::stop_vcpu()` to send a generic interrupt rather than
forcing an immediate shutdown. This allows the VMM to decide the
appropriate action when a VCPU is stopped (e.g., due to a fatal
error on a peer VCPU), rather than being forced into a shutdown.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
Add support for the `CPU_OFF` and `AFFINITY_INFO` PSCI calls. This
functionality is a prerequisite for `kexec` support in guests.

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
@coveralls
Copy link

coveralls commented Jan 17, 2026

Pull Request Test Coverage Report for Build 21085678428

Details

  • 0 of 64 (0.0%) changed or added relevant lines in 5 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.05%) to 26.49%

Changes Missing Coverage Covered Lines Changed/Added Lines %
alioth/src/hv/hvf/vm.rs 0 1 0.0%
alioth/src/board/board.rs 0 4 0.0%
alioth/src/hv/hv.rs 0 12 0.0%
alioth/src/hv/hvf/vcpu/vcpu.rs 0 21 0.0%
alioth/src/hv/hvf/vcpu/vmexit.rs 0 26 0.0%
Files with Coverage Reduction New Missed Lines %
alioth/src/hv/hvf/vcpu/vcpu.rs 1 0.0%
Totals Coverage Status
Change from base Build 20979886448: -0.05%
Covered Lines: 3594
Relevant Lines: 14043

💛 - Coveralls

@Lencerf Lencerf merged commit 4026a31 into google:main Jan 17, 2026
5 checks passed
@Lencerf Lencerf deleted the feat/hvf/kexec branch January 17, 2026 01:09
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