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

Expose VmType to the public interface #97

Merged
merged 2 commits into from
Jul 7, 2023
Merged

Commits on Jul 7, 2023

  1. mshv-ioctls: Expose VmType to public interface

    Since VmType would be use by Cloud Hypervisor while creating the VM. So
    we need to expose it to the public interface.
    
    Signed-off-by: Jinank Jain <[email protected]>
    jinankjain authored and Jinank Jain committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    855a2e7 View commit details
    Browse the repository at this point in the history
  2. mshv-ioctls: Add TryFrom implementation for VmType

    This is required to convert a u64 to VmType. On the cloud hypervisor
    side, we would have a u64 as vm type which needs to be converted to
    VmType when invoking create_vm from MSHV crate.
    
    Signed-off-by: Jinank Jain <[email protected]>
    jinankjain authored and Jinank Jain committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    e58ef40 View commit details
    Browse the repository at this point in the history