Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: virtiofsd-1.8.0 (QEMU regression fix)
@ 2023-09-27 23:39 mvf
  2023-09-27 23:42 ` classabbyamp
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: mvf @ 2023-09-27 23:39 UTC (permalink / raw)
  To: ml

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

There is a new 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: 1320 bytes --]

From cf79bf03cb5c2cc65c471a14a9c7b2f0d1428a0c 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 | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/virtiofsd/template

diff --git a/srcpkgs/virtiofsd/template b/srcpkgs/virtiofsd/template
new file mode 100644
index 0000000000000..fd7781122c9e4
--- /dev/null
+++ b/srcpkgs/virtiofsd/template
@@ -0,0 +1,24 @@
+# Template file for 'virtiofsd'
+pkgname=virtiofsd
+version=1.8.0
+revision=1
+archs="aarch64* x86_64*"
+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
+
+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
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: virtiofsd-1.8.0 (QEMU regression fix)
  2023-09-27 23:39 [PR PATCH] New package: virtiofsd-1.8.0 (QEMU regression fix) mvf
@ 2023-09-27 23:42 ` classabbyamp
  2023-09-28  0:42 ` mvf
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-09-27 23:42 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/46303#issuecomment-1738246807

Comment:
why is it 64-bit only?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: virtiofsd-1.8.0 (QEMU regression fix)
  2023-09-27 23:39 [PR PATCH] New package: virtiofsd-1.8.0 (QEMU regression fix) mvf
  2023-09-27 23:42 ` classabbyamp
@ 2023-09-28  0:42 ` mvf
  2023-09-28  0:44 ` classabbyamp
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mvf @ 2023-09-28  0:42 UTC (permalink / raw)
  To: ml

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

New comment by mvf on void-packages repository

https://github.com/void-linux/void-packages/pull/46303#issuecomment-1738287062

Comment:
32-bit builds fail due to type errors, missing syscalls, etc.: https://gitlab.com/virtio-fs/virtiofsd/-/issues/114

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: virtiofsd-1.8.0 (QEMU regression fix)
  2023-09-27 23:39 [PR PATCH] New package: virtiofsd-1.8.0 (QEMU regression fix) mvf
  2023-09-27 23:42 ` classabbyamp
  2023-09-28  0:42 ` mvf
@ 2023-09-28  0:44 ` classabbyamp
  2023-09-28  1:10 ` [PR PATCH] [Updated] " mvf
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2023-09-28  0:44 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/46303#issuecomment-1738288240

Comment:
ah i see, can you note that issue in the template?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] New package: virtiofsd-1.8.0 (QEMU regression fix)
  2023-09-27 23:39 [PR PATCH] New package: virtiofsd-1.8.0 (QEMU regression fix) mvf
                   ` (2 preceding siblings ...)
  2023-09-28  0:44 ` classabbyamp
@ 2023-09-28  1:10 ` mvf
  2023-09-28  1:12 ` mvf
  2023-09-30 10:39 ` [PR PATCH] [Merged]: " sgn
  5 siblings, 0 replies; 7+ messages in thread
From: mvf @ 2023-09-28  1:10 UTC (permalink / raw)
  To: ml

[-- 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
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: virtiofsd-1.8.0 (QEMU regression fix)
  2023-09-27 23:39 [PR PATCH] New package: virtiofsd-1.8.0 (QEMU regression fix) mvf
                   ` (3 preceding siblings ...)
  2023-09-28  1:10 ` [PR PATCH] [Updated] " mvf
@ 2023-09-28  1:12 ` mvf
  2023-09-30 10:39 ` [PR PATCH] [Merged]: " sgn
  5 siblings, 0 replies; 7+ messages in thread
From: mvf @ 2023-09-28  1:12 UTC (permalink / raw)
  To: ml

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

New comment by mvf on void-packages repository

https://github.com/void-linux/void-packages/pull/46303#issuecomment-1738304511

Comment:
Good point, dropped `archs`, marked `broken` on 32-bit instead.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Merged]: New package: virtiofsd-1.8.0 (QEMU regression fix)
  2023-09-27 23:39 [PR PATCH] New package: virtiofsd-1.8.0 (QEMU regression fix) mvf
                   ` (4 preceding siblings ...)
  2023-09-28  1:12 ` mvf
@ 2023-09-30 10:39 ` sgn
  5 siblings, 0 replies; 7+ messages in thread
From: sgn @ 2023-09-30 10:39 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New package: virtiofsd-1.8.0 (QEMU regression fix)
https://github.com/void-linux/void-packages/pull/46303

Description:
<!-- 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
```

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-09-30 10:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-27 23:39 [PR PATCH] New package: virtiofsd-1.8.0 (QEMU regression fix) mvf
2023-09-27 23:42 ` classabbyamp
2023-09-28  0:42 ` mvf
2023-09-28  0:44 ` classabbyamp
2023-09-28  1:10 ` [PR PATCH] [Updated] " mvf
2023-09-28  1:12 ` mvf
2023-09-30 10:39 ` [PR PATCH] [Merged]: " sgn

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).