Skip to content

vmm_core: Remove is_mmio from CpuIo #1301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

smalis-msft
Copy link
Contributor

This function is a footgun, as it doesn't capture MNF or MMIO ranges emulated elsewhere (like on the host for OpenHCL). It also only has one user. Just remove it. This will likely result in virt_whp sending more intercepts to OpenHCL instead of handling them locally, which may incur a perf penalty (hopefully not a big one), but it should not cause any functional issues (in theory 🤞).

@smalis-msft smalis-msft requested a review from a team as a code owner May 6, 2025 16:28
@smalis-msft smalis-msft changed the title Remove is_mmio from CpuIo vmm_core: Remove is_mmio from CpuIo May 6, 2025
@smalis-msft smalis-msft enabled auto-merge (squash) May 13, 2025 15:34
@smalis-msft smalis-msft marked this pull request as draft May 13, 2025 20:22
auto-merge was automatically disabled May 13, 2025 20:22

Pull request was converted to draft

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