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

[DO NOT MERGE] Update reworked MSHV hypervisor interfaces #6428

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NunoDasNeves
Copy link
Contributor

Several kernel (and mshv crate) interfaces have been reworked. Update these.
Also, change the mshv seccomp IOCTL numbers so that they are no longer hardcoded but are pulled directly from the mshv crate.

See: rust-vmm/mshv#149
This PR will be ready once the other components are merged (and an additional commit added to update the mshv crate version).

@NunoDasNeves NunoDasNeves requested a review from a team as a code owner April 30, 2024 21:59
Use the IOCTL numbers directly from the crate instead of hardcoding them
in seccomp.rs.
Add seccomp rule for MSHV_GET_VERSION_INFO.

Signed-off-by: Nuno Das Neves <nudasnev@microsoft.com>
Arguments for map_guest_memory, get_dirty_bitmap, vp.run(),
import_isolated_pages, modify_gpa_host_access have changed.
Update these to use the new interfaces, including new MSHV_*
definitions, and removing some redundant arguments.

Signed-off-by: Nuno Das Neves <nudasnev@microsoft.com>
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.

None yet

1 participant