Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 678217 Details for
Bug 759673
app-emulation/qemu-5.2.0 has removed /usr/libexec/virtiosfsd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-app-emulation-qemu-build-virtiofsd-if-USE-vhost-user.patch
0001-app-emulation-qemu-build-virtiofsd-if-USE-vhost-user.patch (text/plain), 3.36 KB, created by
Ionen Wolkens
on 2020-12-13 03:30:55 UTC
(
hide
)
Description:
0001-app-emulation-qemu-build-virtiofsd-if-USE-vhost-user.patch
Filename:
MIME Type:
Creator:
Ionen Wolkens
Created:
2020-12-13 03:30:55 UTC
Size:
3.36 KB
patch
obsolete
>From 2a0e67563d4de5da0bf703eaa67a41a667be3aaf Mon Sep 17 00:00:00 2001 >From: Ionen Wolkens <sudinave@gmail.com> >Date: Sat, 12 Dec 2020 22:18:16 -0500 >Subject: [PATCH] app-emulation/qemu: build virtiofsd if USE=vhost-user-fs > >With qemu-5.2.0 build system changes, virtiofsd would only be auto-enabled if >USE="caps seccomp", --enable-tools, and --enable-system. The last being >disabled for the tools build led to virtiofsd being missing for users. > >Rather than work around, control using --enable-virtiofsd and USE=vhost-user-fs > >Cannot be enabled together with --disable-tools, so added conf_tools() > >Closes: https://bugs.gentoo.org/759673 >Package-Manager: Portage-3.0.12, Repoman-3.0.2 >Signed-off-by: Ionen Wolkens <sudinave@gmail.com> >--- > .../qemu/{qemu-5.2.0.ebuild => qemu-5.2.0-r1.ebuild} | 10 ++++++++++ > app-emulation/qemu/qemu-9999.ebuild | 10 ++++++++++ > 2 files changed, 20 insertions(+) > rename app-emulation/qemu/{qemu-5.2.0.ebuild => qemu-5.2.0-r1.ebuild} (98%) > >diff --git a/app-emulation/qemu/qemu-5.2.0.ebuild b/app-emulation/qemu/qemu-5.2.0-r1.ebuild >similarity index 98% >rename from app-emulation/qemu/qemu-5.2.0.ebuild >rename to app-emulation/qemu/qemu-5.2.0-r1.ebuild >index 6401088ec2b..d32c9c23e29 100644 >--- a/app-emulation/qemu/qemu-5.2.0.ebuild >+++ b/app-emulation/qemu/qemu-5.2.0-r1.ebuild >@@ -69,6 +69,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} > qemu_softmmu_targets_riscv64? ( fdt ) > static? ( static-user !alsa !gtk !jack !opengl !pulseaudio !plugins !rbd !snappy ) > static-user? ( !plugins ) >+ vhost-user-fs? ( caps seccomp ) > virtfs? ( caps xattr ) > vte? ( gtk ) > plugins? ( !static !static-user ) >@@ -439,6 +440,14 @@ qemu_src_configure() { > echo "--disable-${2:-$1}" > fi > } >+ # Enable option only for tools build, but not 'user' or 'softmmu' >+ conf_tools() { >+ if [[ ${buildtype} == "tools" ]] ; then >+ use_enable "$@" >+ else >+ echo "--disable-${2:-$1}" >+ fi >+ } > conf_opts+=( > $(conf_notuser accessibility brlapi) > $(conf_notuser aio linux-aio) >@@ -480,6 +489,7 @@ qemu_src_configure() { > $(conf_notuser vde) > $(conf_notuser vhost-net) > $(conf_notuser vhost-user-fs) >+ $(conf_tools vhost-user-fs virtiofsd) > $(conf_notuser virgl virglrenderer) > $(conf_notuser virtfs) > $(conf_notuser vnc) >diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild >index ad937601f52..425a4ffe8df 100644 >--- a/app-emulation/qemu/qemu-9999.ebuild >+++ b/app-emulation/qemu/qemu-9999.ebuild >@@ -69,6 +69,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} > qemu_softmmu_targets_riscv64? ( fdt ) > static? ( static-user !alsa !gtk !jack !opengl !pulseaudio !plugins !rbd !snappy ) > static-user? ( !plugins ) >+ vhost-user-fs? ( caps seccomp ) > virtfs? ( caps xattr ) > vte? ( gtk ) > plugins? ( !static !static-user ) >@@ -437,6 +438,14 @@ qemu_src_configure() { > echo "--disable-${2:-$1}" > fi > } >+ # Enable option only for tools build, but not 'user' or 'softmmu' >+ conf_tools() { >+ if [[ ${buildtype} == "tools" ]] ; then >+ use_enable "$@" >+ else >+ echo "--disable-${2:-$1}" >+ fi >+ } > conf_opts+=( > $(conf_notuser accessibility brlapi) > $(conf_notuser aio linux-aio) >@@ -478,6 +487,7 @@ qemu_src_configure() { > $(conf_notuser vde) > $(conf_notuser vhost-net) > $(conf_notuser vhost-user-fs) >+ $(conf_tools vhost-user-fs virtiofsd) > $(conf_notuser virgl virglrenderer) > $(conf_notuser virtfs) > $(conf_notuser vnc) >-- >2.29.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 759673
: 678217