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

runtime-rs: bringing virtio-fs device in device-manager #7932

Merged
merged 3 commits into from
Nov 21, 2023

Commits on Nov 14, 2023

  1. runtime-rs: introduce update_device in trait Hypervisor

    Introduce the `update_device` trait in Hypervisor to enable
    device updates for VMMs.This trait will initially be utilized
    for virtiofs Mount operations.
    
    Fixes: kata-containers#7915
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    4d65c2e View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. runtime-rs: bringing virtio-fs device in device-manager

    It mainly focus on the two parts:
    (1) redesign the ShareFsConfig with ShareFsMountConfig
    
    The device mount operation must depend on the fact that sharefs
    device exists, and re-design the structure of SharesFsConfig and
    move the ShareFsMountConfig into it with Option type, which is to
    describe the relation between ShareFsConfig and ShareFsMountConfig.
    
    (2) move virtiofs into device manager
    Currently, virtio-fs is still outside of the device manager.
    To do Enhancement of device manager, it will bring virtio-fs
    device in device-manager for unified management
    
    Fixes: kata-containers#7915
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    856315f View commit details
    Browse the repository at this point in the history
  2. runtime-rs: Name the ShareFs Mount Option type more accurately

    Fixes: kata-containers#7915
    
    Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
    Apokleos committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    fe62e65 View commit details
    Browse the repository at this point in the history