Skip to content

Conversation

anirudhrb
Copy link
Collaborator

@anirudhrb anirudhrb commented Jul 25, 2025

Summary of the PR

Use the passthrough hvcall IOCTL on the /dev/mshv fd to perform a self query for VMM capabilities.

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

@russell-islam
Copy link
Collaborator

I would let @NunoDasNeves review first as he is more familer with generic hypercall code

Use the passthrough hvcall IOCTL on the /dev/mshv fd to perform a
self query for VMM capabilities.

Modify the make_args macro to accept expressions in order to support
the Box type used in get_vmm_caps().

Signed-off-by: Anirudh Rayabharam <[email protected]>
Copy link
Collaborator

@NunoDasNeves NunoDasNeves left a comment

Choose a reason for hiding this comment

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

LGTM!

@jinankjain jinankjain merged commit 04c4d56 into rust-vmm:main Aug 6, 2025
7 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.

4 participants