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

Add virtio-fs support (alternative to virtio-9p) #1016

Merged
merged 8 commits into from
May 7, 2019

Commits on May 1, 2019

  1. vendor: update govmm

    Shortlog:
    b3e7a9e Merge pull request kata-containers#91 from stefanha/virtio-fs-cache-size-mb
    058cda0 qemu: use MiB instead of Gib for virtio-fs cache size
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    stefanhaRH committed May 1, 2019
    Configuration menu
    Copy the full SHA
    0217077 View commit details
    Browse the repository at this point in the history
  2. config: add shared_fs option

    Add a config option to select between virtio-9p and virtiofs.  This
    option currently has no effect and will be used in a later patch.
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    stefanhaRH committed May 1, 2019
    Configuration menu
    Copy the full SHA
    9e87fa2 View commit details
    Browse the repository at this point in the history
  3. config: add virtio_fs_daemon string

    Add a config option for the virtio-fs vhost-user daemon path.
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    stefanhaRH committed May 1, 2019
    Configuration menu
    Copy the full SHA
    d690dff View commit details
    Browse the repository at this point in the history

Commits on May 5, 2019

  1. qemu: add vhost-user-fs-pci device instead of 9p

    When enable_virtio_fs is true, add a vhost-user-fs-pci for the
    kataShared volume instead of 9p.
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    stefanhaRH committed May 5, 2019
    Configuration menu
    Copy the full SHA
    9480978 View commit details
    Browse the repository at this point in the history
  2. kata_agent: use virtio-fs shared dir in CreateSandbox

    Use virtio-fs instead of virtio-9p when virtio-fs is enabled.
    
    Fixes: kata-containers#1542
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    stefanhaRH committed May 5, 2019
    Configuration menu
    Copy the full SHA
    82d1a9d View commit details
    Browse the repository at this point in the history
  3. virtiofs: Add cache size option

    Add VirtioFSCacheSize aka virtio_fs_cache_size option
    to set the size (in MiB) of the DAX cache.
    
    Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
    dagrh authored and stefanhaRH committed May 5, 2019
    Configuration menu
    Copy the full SHA
    6767c1a View commit details
    Browse the repository at this point in the history
  4. virtiofs: Add cache option

    Several cache modes are supported by virtio-fs.  They affect the
    performance and consistency characteristics of the file system.
    
    For the time being cache="none" is recommended, but the other modes can
    be experimented with.
    
    Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
    dagrh authored and stefanhaRH committed May 5, 2019
    Configuration menu
    Copy the full SHA
    75f7586 View commit details
    Browse the repository at this point in the history
  5. kata-env: add SharedFS option to output

    It's useful to know whether virtio-9p or virtio-fs is being used.  Add
    the status to the kata-env output.
    
    Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
    stefanhaRH committed May 5, 2019
    Configuration menu
    Copy the full SHA
    0a69eb8 View commit details
    Browse the repository at this point in the history