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 kvm guest memfd related capabilities #288

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

Commits on Oct 9, 2024

  1. Add kvm guest memfd related capabilities

    The capabilities are required to properly setup a guest_memfd to provide better
    host and guest memory isolation. The memory attributes capability returns an
    integer with each bits representing different configs. For example, the return
    integer & KVM_MEMORY_ATTRIBUTE_PRIVATE > 0 means the vm is capable of setting
    memory pages to private.
    
    Signed-off-by: Sida Chen <[email protected]>
    KeyboardNerd committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    741fb48 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG

    Signed-off-by: Sida Chen <[email protected]>
    KeyboardNerd committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    6d317f1 View commit details
    Browse the repository at this point in the history
  3. Update test assertion for non SNP machine

    Signed-off-by: Sida Chen <[email protected]>
    KeyboardNerd committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    2523d68 View commit details
    Browse the repository at this point in the history
  4. Fix test assertion

    Signed-off-by: Sida Chen <[email protected]>
    KeyboardNerd committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    7283cc6 View commit details
    Browse the repository at this point in the history
  5. Update assertion

    Signed-off-by: Sida Chen <[email protected]>
    KeyboardNerd committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    3778efe View commit details
    Browse the repository at this point in the history