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

Add various ioctls required by SEV-SNP guest #102

Merged
merged 5 commits into from
Jul 6, 2023

Conversation

jinankjain
Copy link
Collaborator

@jinankjain jinankjain commented Jul 6, 2023

Summary of the PR

  • Ioctl for changing page visibility
  • Ioctl for importing isolated pages
  • Ioctl for completing isolated import
  • Ioctl for creating AP threads for SEV-SNP guest
  • Ioctl for issuing psp request from guest side.

Requirements

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

  • All commits in this PR are signed (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.

This is a new ioctl to change the page visibility for a given list of
GPA, mostly used by SEV-SNP enabled guest.

Signed-off-by: Jinank Jain <[email protected]>
... pages. This is required by SEV-SNP guests to import the initial set
of isolated pages.

Signed-off-by: Jinank Jain <[email protected]>
... of isolated pages. Another ioctl which would be primarily used by
SEV-SNP guest.

Signed-off-by: Jinank Jain <[email protected]>
.. request. This would be used by SNP guest while generating the
attesattion report.

Signed-off-by: Jinank Jain <[email protected]>
@jinankjain
Copy link
Collaborator Author

I haven't added the unit tests yet because we need a completely new strategy to add support for testing SEV-SNP guest.

This would be used by SEV-SNP guest during SMP bringup to create AP
threads.

Signed-off-by: Jinank Jain <[email protected]>
@russell-islam russell-islam merged commit d48031a into rust-vmm:main Jul 6, 2023
2 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