1 |
commit: 470f013b7d04310371c7bd69a21ecc6ea02d2612 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 15 12:45:59 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 15 12:50:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=470f013b |
7 |
|
8 |
app-emulation/qemu: bump up to 4.2.0, bug #702036 |
9 |
|
10 |
Two more knobs exposed: |
11 |
- USE=plugins to add plugin support to qemu's TCG and logging |
12 |
- USE=vhost-user-fs to support access to host's FS via VIRTIOFS FUSE protocol |
13 |
|
14 |
Reported-by: Per Pomsel |
15 |
Closes: https://bugs.gentoo.org/702036 |
16 |
Package-Manager: Portage-2.3.81, Repoman-2.3.20 |
17 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
18 |
|
19 |
app-emulation/qemu/Manifest | 1 + |
20 |
app-emulation/qemu/metadata.xml | 2 ++ |
21 |
app-emulation/qemu/{qemu-9999.ebuild => qemu-4.2.0.ebuild} | 9 ++++++--- |
22 |
app-emulation/qemu/qemu-9999.ebuild | 8 +++++--- |
23 |
4 files changed, 14 insertions(+), 6 deletions(-) |
24 |
|
25 |
diff --git a/app-emulation/qemu/Manifest b/app-emulation/qemu/Manifest |
26 |
index 80902bd6127..419a3a9a9e8 100644 |
27 |
--- a/app-emulation/qemu/Manifest |
28 |
+++ b/app-emulation/qemu/Manifest |
29 |
@@ -1,2 +1,3 @@ |
30 |
DIST qemu-4.0.0.tar.xz 55628624 BLAKE2B 8afd1f54aa13d2e61fd36c4f4544b7c4ffb1a7eee5c69d3aa1d40a432ca296ad8abe6cb83d7c66ac4045ca624d2a00e737f51e4e62ed46fef9766ef71f43b98b SHA512 952e94194ce9e64c15388c59035cb31fb9f761d30095c2fb9441012b609c18c9976285727b93bf37b95e15675802d73f8e1c4619ebecd23606675bb503646b13 |
31 |
DIST qemu-4.1.0.tar.xz 54001708 BLAKE2B fc89d0c967fb31a73cbdca556e79c05c44b241382a83f02150a8e39b00cb7de7fb6f248e82e1364e314680481bfb3843e74804534c0ba91a5bb2ff1b8d771130 SHA512 82fd51702a7b9b1b00b2f1bd3b4a832b80249018dbba1add0b0a73e7d4bee452afd45574b4d8df7ce4477d8711f3bda4ca072a1a6de25895c93eb21cf78fc4b2 |
32 |
+DIST qemu-4.2.0.tar.xz 62222068 BLAKE2B 27c9fbcd5093af425764674817ab9299224bd03f37b5983786f6f437fff1fab3b7da247c55c4ca8b8c42726b9867005944a2f7f04f2d0d94d753961615f901ef SHA512 2a79973c2b07c53e8c57a808ea8add7b6b2cbca96488ed5d4b669ead8c9318907dec2b6109f180fc8ca8f04c0f73a56e82b3a527b5626b799d7e849f2474ec56 |
33 |
|
34 |
diff --git a/app-emulation/qemu/metadata.xml b/app-emulation/qemu/metadata.xml |
35 |
index 4c468733de5..c7c7fef2f08 100644 |
36 |
--- a/app-emulation/qemu/metadata.xml |
37 |
+++ b/app-emulation/qemu/metadata.xml |
38 |
@@ -30,6 +30,7 @@ |
39 |
<flag name="pin-upstream-blobs">Pin the versions of BIOS firmware to the version included in the upstream release. |
40 |
This is needed to sanely support migration/suspend/resume/snapshotting/etc... of instances. |
41 |
When the blobs are different, random corruption/bugs/crashes/etc... may be observed.</flag> |
42 |
+ <flag name="plugins">Enable qemu plugin API via shared library loading.</flag> |
43 |
<flag name="pulseaudio">Enable pulseaudio output for sound emulation</flag> |
44 |
<flag name="rbd">Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD</flag> |
45 |
<flag name="sdl">Enable the SDL-based console</flag> |
46 |
@@ -46,6 +47,7 @@ |
47 |
<flag name="usbredir">Use <pkg>sys-apps/usbredir</pkg> to redirect USB devices to another machine over TCP</flag> |
48 |
<flag name="vde">Enable VDE-based networking</flag> |
49 |
<flag name="vhost-net">Enable accelerated networking using vhost-net, see http://www.linux-kvm.org/page/VhostNet</flag> |
50 |
+ <flag name="vhost-user-fs">Enable shared file system access using the FUSE protocol carried over virtio.</flag> |
51 |
<flag name="virgl">Enable experimental Virgil 3d (virtual software GPU)</flag> |
52 |
<flag name="virtfs">Enable VirtFS via virtio-9p-pci / fsdev. See http://wiki.qemu.org/Documentation/9psetup</flag> |
53 |
<flag name="vte">Enable terminal support (<pkg>x11-libs/vte</pkg>) in the GTK+ interface</flag> |
54 |
|
55 |
diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-4.2.0.ebuild |
56 |
similarity index 98% |
57 |
copy from app-emulation/qemu/qemu-9999.ebuild |
58 |
copy to app-emulation/qemu/qemu-4.2.0.ebuild |
59 |
index 3bf1f06000f..0c4b0cdd9a4 100644 |
60 |
--- a/app-emulation/qemu/qemu-9999.ebuild |
61 |
+++ b/app-emulation/qemu/qemu-4.2.0.ebuild |
62 |
@@ -34,11 +34,11 @@ LICENSE="GPL-2 LGPL-2 BSD-2" |
63 |
SLOT="0" |
64 |
|
65 |
IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug doc |
66 |
- +fdt glusterfs gnutls gtk infiniband iscsi +jpeg jemalloc kernel_linux |
67 |
+ +fdt glusterfs gnutls gtk infiniband iscsi jemalloc +jpeg kernel_linux |
68 |
kernel_FreeBSD lzo ncurses nfs nls numa opengl +oss +pin-upstream-blobs |
69 |
- +png pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy |
70 |
+ plugins +png pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy |
71 |
spice ssh static static-user systemtap tci test usb usbredir vde |
72 |
- +vhost-net virgl virtfs +vnc vte xattr xen xfs +xkb" |
73 |
+ +vhost-net vhost-user-fs virgl virtfs +vnc vte xattr xen xfs +xkb" |
74 |
|
75 |
COMMON_TARGETS="aarch64 alpha arm cris hppa i386 m68k microblaze microblazeel |
76 |
mips mips64 mips64el mipsel nios2 or1k ppc ppc64 riscv32 riscv64 s390x |
77 |
@@ -212,6 +212,7 @@ PATCHES=( |
78 |
"${FILESDIR}"/${PN}-2.5.0-cflags.patch |
79 |
"${FILESDIR}"/${PN}-2.5.0-sysmacros.patch |
80 |
"${FILESDIR}"/${PN}-2.11.1-capstone_include_path.patch |
81 |
+ "${FILESDIR}"/${PN}-4.0.0-sanitize-interp_info.patch |
82 |
"${FILESDIR}"/${PN}-4.0.0-mkdir_systemtap.patch #684902 |
83 |
) |
84 |
|
85 |
@@ -417,6 +418,7 @@ qemu_src_configure() { |
86 |
$(use_enable debug debug-info) |
87 |
$(use_enable debug debug-tcg) |
88 |
$(use_enable doc docs) |
89 |
+ $(use_enable plugins) |
90 |
$(use_enable tci tcg-interpreter) |
91 |
$(use_enable xattr attr) |
92 |
) |
93 |
@@ -466,6 +468,7 @@ qemu_src_configure() { |
94 |
$(conf_notuser usbredir usb-redir) |
95 |
$(conf_notuser vde) |
96 |
$(conf_notuser vhost-net) |
97 |
+ $(conf_notuser vhost-user-fs) |
98 |
$(conf_notuser virgl virglrenderer) |
99 |
$(conf_notuser virtfs) |
100 |
$(conf_notuser vnc) |
101 |
|
102 |
diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild |
103 |
index 3bf1f06000f..bef3b263a0e 100644 |
104 |
--- a/app-emulation/qemu/qemu-9999.ebuild |
105 |
+++ b/app-emulation/qemu/qemu-9999.ebuild |
106 |
@@ -34,11 +34,11 @@ LICENSE="GPL-2 LGPL-2 BSD-2" |
107 |
SLOT="0" |
108 |
|
109 |
IUSE="accessibility +aio alsa bzip2 capstone +caps +curl debug doc |
110 |
- +fdt glusterfs gnutls gtk infiniband iscsi +jpeg jemalloc kernel_linux |
111 |
+ +fdt glusterfs gnutls gtk infiniband iscsi jemalloc +jpeg kernel_linux |
112 |
kernel_FreeBSD lzo ncurses nfs nls numa opengl +oss +pin-upstream-blobs |
113 |
- +png pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy |
114 |
+ plugins +png pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy |
115 |
spice ssh static static-user systemtap tci test usb usbredir vde |
116 |
- +vhost-net virgl virtfs +vnc vte xattr xen xfs +xkb" |
117 |
+ +vhost-net vhost-user-fs virgl virtfs +vnc vte xattr xen xfs +xkb" |
118 |
|
119 |
COMMON_TARGETS="aarch64 alpha arm cris hppa i386 m68k microblaze microblazeel |
120 |
mips mips64 mips64el mipsel nios2 or1k ppc ppc64 riscv32 riscv64 s390x |
121 |
@@ -417,6 +417,7 @@ qemu_src_configure() { |
122 |
$(use_enable debug debug-info) |
123 |
$(use_enable debug debug-tcg) |
124 |
$(use_enable doc docs) |
125 |
+ $(use_enable plugins) |
126 |
$(use_enable tci tcg-interpreter) |
127 |
$(use_enable xattr attr) |
128 |
) |
129 |
@@ -466,6 +467,7 @@ qemu_src_configure() { |
130 |
$(conf_notuser usbredir usb-redir) |
131 |
$(conf_notuser vde) |
132 |
$(conf_notuser vhost-net) |
133 |
+ $(conf_notuser vhost-user-fs) |
134 |
$(conf_notuser virgl virglrenderer) |
135 |
$(conf_notuser virtfs) |
136 |
$(conf_notuser vnc) |