Merge pull request #6780 from Amulyam24/rust-virtfs

ppc64le: switch virtiofsd from C to rust version
This commit is contained in:
Amulya Meka 2023-05-17 09:36:28 +05:30 committed by GitHub
commit 3ccc29030d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 9 deletions

View File

@ -217,9 +217,6 @@ DEFSHAREDFS_QEMU_TDX_VIRTIOFS := virtio-9p
DEFSHAREDFS_QEMU_SEV_VIRTIOFS := virtio-9p
DEFSHAREDFS_QEMU_SNP_VIRTIOFS := virtio-9p
DEFVIRTIOFSDAEMON := $(LIBEXECDIR)/virtiofsd
ifeq ($(ARCH),ppc64le)
DEFVIRTIOFSDAEMON := $(LIBEXECDIR)/qemu/virtiofsd
endif
DEFVALIDVIRTIOFSDAEMONPATHS := [\"$(DEFVIRTIOFSDAEMON)\"]
# Default DAX mapping cache size in MiB
#if value is 0, DAX is not enabled

View File

@ -341,7 +341,7 @@ generate_qemu_options() {
qemu_options+=(functionality:--disable-virtiofsd)
;;
ppc64le)
qemu_options+=(functionality:--enable-virtiofsd)
qemu_options+=(functionality:--disable-virtiofsd)
;;
s390x)
qemu_options+=(functionality:--disable-virtiofsd)

View File

@ -297,14 +297,14 @@ externals:
virtiofsd:
description: "vhost-user virtio-fs device backend written in Rust"
url: "https://gitlab.com/virtio-fs/virtiofsd"
version: "v1.3.0"
toolchain: "1.62.0"
version: "v1.6.1"
toolchain: "1.66.0"
meta:
# From https://gitlab.com/virtio-fs/virtiofsd/-/releases/v1.3.0,
# this is the link labelled virtiofsd-v1.3.0.zip
# From https://gitlab.com/virtio-fs/virtiofsd/-/releases/v1.6.1,
# this is the link labelled virtiofsd-v1.6.1.zip
#
# yamllint disable-line rule:line-length
binary: "https://gitlab.com/virtio-fs/virtiofsd/uploads/9a4f2261fcb1701f1e709694b5c5d980/virtiofsd-v1.3.0.zip"
binary: "https://gitlab.com/virtio-fs/virtiofsd/uploads/14c1e8a7acc82d515cec6608727a1e4a/virtiofsd-v1.6.1.zip"
languages:
description: |