Skip to content
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

vm-util: Disable UMIP if it is not supported on the host #439

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

Dennisbonke
Copy link
Member

QEMU emulates UMIP regardless of whether or not it is supported. It does that by trapping every table access, including ltr, which we do on task switch when the I/O permission bitmap changes. This is quite costly in performance, so we disable UMIP if the host does not support it.

QEMU emulates UMIP regardless of whether or not it is supported.
It does that by trapping every table access, including ltr, which we do on task switch when the I/O permission bitmap changes.
This is quite costly in performance, so we disable UMIP if the host does not support it.
Copy link
Member

@no92 no92 left a comment

Choose a reason for hiding this comment

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

LGTM

@Dennisbonke Dennisbonke merged commit 9802609 into managarm:master Jan 21, 2025
5 checks passed
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