Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

agent: add support for loading kernel modules #616

Merged
merged 1 commit into from
Aug 2, 2019

Commits on Aug 1, 2019

  1. agent: add support for loading kernel modules

    Some containers may require HW devices to improve its performance. In Kata
    containers these devices can be passed though VFIO and used in the container
    only if the guest kernel has the drivers built-in for them. When kernel
    fragment support landed (kata-containers/packaging#646), kata lost support
    for several HW devices like Intel GPUs, this was expected since one of the
    goals of this change was to have a minimal kernel in order to improve boot
    time, memory footprint and reduce the attack surface by enabling just the
    features required to run kata containers.
    Currently if the users want to use a HW device in kata container, He/She has
    to build a custom kernel and create a custom image that includes the modules
    that will be loaded by systemd. From user's perspective this is a pain, since
    not all users know how to create a custom image or configure/build a custom
    kernel.
    Same as the `debug_console` feature (kata-containers#547), the goal of
    this change is to facilitate the things to the final user and *do not* depend
    on systemd.
    The list of kernel modules and their parameters are set through gRPC when the
    sandbox is created.
    
    fixes kata-containers#615
    
    see kata-containers/osbuilder#77
    
    Signed-off-by: Julio Montes <julio.montes@intel.com>
    Julio Montes committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    ad72fe8 View commit details
    Browse the repository at this point in the history