Github messages for voidlinux
 help / color / mirror / Atom feed
From: mvf <mvf@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: virtiofsd-1.8.0 (QEMU regression fix)
Date: Thu, 28 Sep 2023 03:10:07 +0200	[thread overview]
Message-ID: <20230928011007.ycbNaakXppD_pU6AOIW-Lcev3TTpGz-sjUi5k8UKAEQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46303@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1664 bytes --]

There is an updated pull request by mvf against master on the void-packages repository

https://github.com/mvf/void-packages pr/virtiofsd
https://github.com/void-linux/void-packages/pull/46303

New package: virtiofsd-1.8.0 (QEMU regression fix)
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES** (x86_64 glibc host, Windows 11 guest)

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (note: this package is 64-bit only):
  - aarch64 (cross)
  - aarch64-musl (cross)
  - x86_64-musl

---

QEMU 8 dropped its `virtiofsd` in favor of the package in this PR ([ChangeLog](https://wiki.qemu.org/ChangeLog/8.0#Removed_features_and_incompatible_changes)). Just installing it fixes Virt Manager VMs with `virtiofs` shares. Since #44822 these don't power on due to:

```
Error starting domain: operation failed: Unable to find a satisfying virtiofsd
```

A patch file from https://github.com/void-linux/void-packages/pull/46303.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pr/virtiofsd-46303.patch --]
[-- Type: text/x-diff, Size: 1409 bytes --]

From cf62ce7d4db4561998f0847bfa0aa7cfe1cc59f3 Mon Sep 17 00:00:00 2001
From: Matthias von Faber <mvf@gmx.eu>
Date: Thu, 28 Sep 2023 00:44:22 +0200
Subject: [PATCH] New package: virtiofsd-1.8.0

---
 srcpkgs/virtiofsd/template | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 srcpkgs/virtiofsd/template

diff --git a/srcpkgs/virtiofsd/template b/srcpkgs/virtiofsd/template
new file mode 100644
index 0000000000000..9c2b0c73b5171
--- /dev/null
+++ b/srcpkgs/virtiofsd/template
@@ -0,0 +1,27 @@
+# Template file for 'virtiofsd'
+pkgname=virtiofsd
+version=1.8.0
+revision=1
+build_style=cargo
+makedepends="libcap-ng-devel libseccomp-devel"
+short_desc="Virtio-fs vhost-user device daemon"
+maintainer="Matthias von Faber <mvf@gmx.eu>"
+license="Apache-2.0, BSD-3-Clause"
+homepage="https://gitlab.com/virtio-fs/virtiofsd"
+distfiles="https://gitlab.com/virtio-fs/virtiofsd/-/archive/v${version}/virtiofsd-v${version}.tar.gz"
+checksum=35a59628c44da64d72b25cbdea54fe2fa68ecd42482f34c4755f4020e6dc280b
+
+if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
+	broken="https://gitlab.com/virtio-fs/virtiofsd/-/issues/114"
+fi
+
+do_install() {
+	vinstall "target/${RUST_TARGET}/release/virtiofsd" 755 usr/libexec
+	vinstall 50-qemu-virtiofsd.json 644 usr/share/qemu/vhost-user
+
+	vdoc README.md
+	vdoc doc/xattr-mapping.md
+
+	vlicense LICENSE-APACHE
+	vlicense LICENSE-BSD-3-Clause
+}

  parent reply	other threads:[~2023-09-28  1:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27 23:39 [PR PATCH] " mvf
2023-09-27 23:42 ` classabbyamp
2023-09-28  0:42 ` mvf
2023-09-28  0:44 ` classabbyamp
2023-09-28  1:10 ` mvf [this message]
2023-09-28  1:12 ` mvf
2023-09-30 10:39 ` [PR PATCH] [Merged]: " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230928011007.ycbNaakXppD_pU6AOIW-Lcev3TTpGz-sjUi5k8UKAEQ@z \
    --to=mvf@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).