Skip to content

fix zone interface in arch_zone_reset#272

Merged
li041 merged 1 commit intosyswonder:devfrom
li041:fix_reset
Mar 19, 2026
Merged

fix zone interface in arch_zone_reset#272
li041 merged 1 commit intosyswonder:devfrom
li041:fix_reset

Conversation

@li041
Copy link
Contributor

@li041 li041 commented Mar 19, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 19, 2026 11:59
@github-actions github-actions bot added aarch64 bug Something isn't working labels Mar 19, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the AArch64 arch_zone_reset implementation to use the current Zone/ZoneInner interface, accessing the guest physical memory map (GPM) through a read guard rather than directly from Zone.

Changes:

  • Acquire a ZoneInner read guard inside arch_zone_reset.
  • Iterate memory regions via inner.gpm().for_each_region(...) to invalidate guest-related cache lines.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@li041 li041 requested a review from agicy March 19, 2026 12:07
@dallasxy dallasxy self-requested a review March 19, 2026 12:30
@li041 li041 merged commit 341a394 into syswonder:dev Mar 19, 2026
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aarch64 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants