#1 Use "virtiofs" instead of "virtio_fs" as typeVirtioFS
Merged 4 years ago by crobinso. Opened 4 years ago by fidencio.
rpms/ fidencio/kata-shim wip/virtiofs  into  master

@@ -0,0 +1,31 @@ 

+ From df0bdf85de7df3eeb7da9de13a2985f5321b94ae Mon Sep 17 00:00:00 2001

+ From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fidencio@redhat.com>

+ Date: Thu, 6 Feb 2020 21:44:23 +0100

+ Subject: [PATCH] mount: Use virtiofs instead of virtio_fs as typeVirtioFS

+ MIME-Version: 1.0

+ Content-Type: text/plain; charset=UTF-8

+ Content-Transfer-Encoding: 8bit

+ 

+ virtio_fs was used in the early stages of the driver development.

+ 

+ Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>

+ ---

+  vendor/github.com/kata-containers/agent/mount.go | 2 +-

+  1 file changed, 1 insertion(+), 1 deletion(-)

+ 

+ diff --git a/vendor/github.com/kata-containers/agent/mount.go b/vendor/github.com/kata-containers/agent/mount.go

+ index a560fb8..c291323 100644

+ --- a/vendor/github.com/kata-containers/agent/mount.go

+ +++ b/vendor/github.com/kata-containers/agent/mount.go

+ @@ -27,7 +27,7 @@ import (

+  

+  const (

+  	type9pFs       = "9p"

+ -	typeVirtioFS   = "virtio_fs"

+ +	typeVirtioFS   = "virtiofs"

+  	typeRootfs     = "rootfs"

+  	typeTmpFs      = "tmpfs"

+  	procMountStats = "/proc/self/mountstats"

+ -- 

+ 2.18.1

+ 

file modified
+3 -1
@@ -35,6 +35,8 @@ 

  Provides: bundled(golang(google.golang.org/genproto)) = a8101f21cf983e773d0c1133ebc5424792003214

  Provides: bundled(golang(google.golang.org/grpc)) = v1.8.0

  

+ Patch0001: 0001-mount-Use-virtiofs-instead-of-virtio_fs-as-typeVirti.patch

+ 

  %description

  This project implements a shim called kata-shim for the Kata Containers project.

  
@@ -48,7 +50,7 @@ 

  virtual machine.

  

  %prep

- %autosetup -n %{repo}-%{version}

+ %autosetup -p1 -n %{repo}-%{version}

  

  %build

  # Adjust for go build requirements

virtio_fs was used in the early stages of the driver development.

Pull-Request has been merged by crobinso

4 years ago