1 | Summary: QEMU is a FAST! processor emulator |
---|
2 | Summary(ja): QEMU 高速なプロセッサ・エミュレーター |
---|
3 | Name: qemu |
---|
4 | Version: 2.4.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2+ and LGPLv2+ and BSD |
---|
7 | Group: Development/Tools |
---|
8 | URL: http://www.qemu.org/ |
---|
9 | |
---|
10 | Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2 |
---|
11 | Source1: qemu.init |
---|
12 | |
---|
13 | # Loads kvm kernel modules at boot |
---|
14 | Source2: kvm.modules |
---|
15 | |
---|
16 | # Creates /dev/kvm |
---|
17 | Source3: 80-kvm.rules |
---|
18 | |
---|
19 | # KSM control scripts |
---|
20 | Source4: ksm.init |
---|
21 | Source5: ksm.sysconfig |
---|
22 | Source6: ksmtuned.init |
---|
23 | Source7: ksmtuned |
---|
24 | Source8: ksmtuned.conf |
---|
25 | |
---|
26 | Patch0: qemu-2.4.1-build-fix-vine.patch |
---|
27 | |
---|
28 | |
---|
29 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
30 | BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel |
---|
31 | BuildRequires: libaio-devel |
---|
32 | BuildRequires: rsync |
---|
33 | BuildRequires: pciutils-devel |
---|
34 | BuildRequires: pulseaudio-libs-devel |
---|
35 | BuildRequires: alsa-lib-devel |
---|
36 | BuildRequires: ncurses-devel |
---|
37 | BuildRequires: libattr-devel |
---|
38 | BuildRequires: usbredir-devel >= 0.4.1 |
---|
39 | BuildRequires: texinfo |
---|
40 | %ifarch %{ix86} x86_64 |
---|
41 | BuildRequires: spice-protocol >= 0.8.1 |
---|
42 | BuildRequires: spice-server-devel >= 0.9.0 |
---|
43 | %endif |
---|
44 | # For network block driver |
---|
45 | BuildRequires: curl-devel |
---|
46 | %if %{with rbd} |
---|
47 | # For rbd block driver |
---|
48 | BuildRequires: ceph-devel |
---|
49 | %endif |
---|
50 | # We need both because the 'stap' binary is probed for by configure |
---|
51 | BuildRequires: systemtap |
---|
52 | BuildRequires: systemtap-sdt-devel |
---|
53 | # For smartcard NSS support |
---|
54 | BuildRequires: nss-devel |
---|
55 | # For XFS discard support in raw-posix.c |
---|
56 | BuildRequires: xfsprogs-devel |
---|
57 | # For VNC JPEG support |
---|
58 | BuildRequires: libjpeg-turbo-devel |
---|
59 | # For VNC PNG support |
---|
60 | BuildRequires: libpng-devel |
---|
61 | # For uuid generation |
---|
62 | BuildRequires: libuuid-devel |
---|
63 | # For BlueZ device support |
---|
64 | BuildRequires: bluez-libs-devel |
---|
65 | # For Braille device support |
---|
66 | BuildRequires: brlapi-devel |
---|
67 | %if %{with fdt} |
---|
68 | # For FDT device tree support |
---|
69 | BuildRequires: libfdt-devel |
---|
70 | %endif |
---|
71 | # For test suite |
---|
72 | BuildRequires: check-devel |
---|
73 | # For virtfs |
---|
74 | BuildRequires: libcap-devel |
---|
75 | |
---|
76 | Requires: %{name}-user = %{version}-%{release} |
---|
77 | Requires: %{name}-system-x86 = %{version}-%{release} |
---|
78 | Requires: %{name}-system-sparc = %{version}-%{release} |
---|
79 | Requires: %{name}-system-arm = %{version}-%{release} |
---|
80 | Requires: %{name}-system-cris = %{version}-%{release} |
---|
81 | Requires: %{name}-system-sh4 = %{version}-%{release} |
---|
82 | Requires: %{name}-system-m68k = %{version}-%{release} |
---|
83 | Requires: %{name}-system-mips = %{version}-%{release} |
---|
84 | Requires: %{name}-system-ppc = %{version}-%{release} |
---|
85 | Requires: %{name}-img = %{version}-%{release} |
---|
86 | |
---|
87 | %define qemudocdir %{_docdir}/%{name} |
---|
88 | |
---|
89 | %description |
---|
90 | QEMU is a generic and open source processor emulator which achieves a good |
---|
91 | emulation speed by using dynamic translation. QEMU has two operating modes: |
---|
92 | |
---|
93 | * Full system emulation. In this mode, QEMU emulates a full system (for |
---|
94 | example a PC), including a processor and various peripherials. It can be |
---|
95 | used to launch different Operating Systems without rebooting the PC or |
---|
96 | to debug system code. |
---|
97 | * User mode emulation. In this mode, QEMU can launch Linux processes compiled |
---|
98 | for one CPU on another CPU. |
---|
99 | |
---|
100 | As QEMU requires no host kernel patches to run, it is safe and easy to use. |
---|
101 | |
---|
102 | %description -l ja |
---|
103 | QEMU オープンソースな汎用のプロセッサエミュレータです。ダイナミック・トランス |
---|
104 | レーションを利用することにより、優れたエミュレーション速度を実現しています。 |
---|
105 | QEMU には2つのエミュレーション・モードがあります: |
---|
106 | |
---|
107 | * フルシステム・エミュレーション。このモードでは、QEMU は1つ又は複数のプロセッサ |
---|
108 | や周辺装置を含めたすべてのシステム(例えば1台のPC)をエミュレートします。これは |
---|
109 | PC を再起動することなく別の OS を起動したり、システム・コードをデバッグする |
---|
110 | 時に利用できます。 |
---|
111 | * ユーザーモード・エミュレーション。このモードでは、QEMU はある CPU に対してコン |
---|
112 | パイルされた Linux プログラムを別の CPU 上で実行できます。 |
---|
113 | |
---|
114 | QEMU はホスト用のカーネルにパッチを適用すること無しに実行できるので、簡単に使え |
---|
115 | てしかも安全です。 |
---|
116 | |
---|
117 | %package kvm |
---|
118 | Summary: QEMU metapackage for KVM support |
---|
119 | Summary(ja): KVM サポートのための QEMU メタ・パッケージ |
---|
120 | Group: Development/Tools |
---|
121 | %ifarch %{ix86} x86_64 |
---|
122 | Requires: qemu-system-x86 = %{version}-%{release} |
---|
123 | %endif |
---|
124 | %ifarch ppc ppc64 |
---|
125 | Requires: qemu-system-ppc = %{version}-%{release} |
---|
126 | %endif |
---|
127 | |
---|
128 | %description kvm |
---|
129 | This is a meta-package that provides a qemu-system-<arch> package for native |
---|
130 | architectures where kvm can be enabled. For example, in an x86 system, this |
---|
131 | will install qemu-system-x86 |
---|
132 | |
---|
133 | %package img |
---|
134 | Summary: QEMU command line tool for manipulating disk images |
---|
135 | Group: Development/Tools |
---|
136 | %description img |
---|
137 | This package provides a command line tool for manipulating disk images |
---|
138 | |
---|
139 | %package common |
---|
140 | Summary: QEMU common files needed by all QEMU targets |
---|
141 | Group: Development/Tools |
---|
142 | Requires(post): /usr/bin/getent |
---|
143 | Requires(post): /usr/sbin/groupadd |
---|
144 | Requires(post): /usr/sbin/useradd |
---|
145 | Requires(post): /sbin/chkconfig |
---|
146 | Requires(preun): /sbin/service /sbin/chkconfig |
---|
147 | Requires(postun): /sbin/service |
---|
148 | %description common |
---|
149 | QEMU is a generic and open source processor emulator which achieves a good |
---|
150 | emulation speed by using dynamic translation. |
---|
151 | |
---|
152 | This package provides the common files needed by all QEMU targets |
---|
153 | |
---|
154 | %package guest-agent |
---|
155 | Summary: QEMU guest agent |
---|
156 | Group: System Environment/Daemons |
---|
157 | |
---|
158 | %description guest-agent |
---|
159 | QEMU is a generic and open source processor emulator which achieves a good |
---|
160 | emulation speed by using dynamic translation. |
---|
161 | |
---|
162 | This package provides an agent to run inside guests, which communicates |
---|
163 | with the host over a virtio-serial channel named "org.qemu.guest_agent.0" |
---|
164 | |
---|
165 | This package does not need to be installed on the host OS. |
---|
166 | |
---|
167 | |
---|
168 | %package user |
---|
169 | Summary: QEMU user mode emulation of qemu targets |
---|
170 | Group: Development/Tools |
---|
171 | Requires: %{name}-common = %{version}-%{release} |
---|
172 | Requires(post): /sbin/chkconfig |
---|
173 | Requires(preun): /sbin/service /sbin/chkconfig |
---|
174 | Requires(postun): /sbin/service |
---|
175 | %description user |
---|
176 | QEMU is a generic and open source processor emulator which achieves a good |
---|
177 | emulation speed by using dynamic translation. |
---|
178 | |
---|
179 | This package provides the user mode emulation of qemu targets |
---|
180 | |
---|
181 | %package system-x86 |
---|
182 | Summary: QEMU system emulator for x86 |
---|
183 | Group: Development/Tools |
---|
184 | Requires: %{name}-common = %{version}-%{release} |
---|
185 | Provides: kvm = 85 |
---|
186 | Obsoletes: kvm < 85 |
---|
187 | # Requires: vgabios |
---|
188 | # Requires: bochs-bios >= 2.3.8-0.8 |
---|
189 | # Requires: /usr/share/gpxe/e1000-0x100e.rom |
---|
190 | # Requires: /usr/share/gpxe/rtl8029.rom |
---|
191 | # Requires: /usr/share/gpxe/pcnet32.rom |
---|
192 | # Requires: /usr/share/gpxe/rtl8139.rom |
---|
193 | # Requires: /usr/share/gpxe/virtio-net.rom |
---|
194 | |
---|
195 | %description system-x86 |
---|
196 | QEMU is a generic and open source processor emulator which achieves a good |
---|
197 | emulation speed by using dynamic translation. |
---|
198 | |
---|
199 | This package provides the system emulator for x86. When being run in a x86 |
---|
200 | machine that supports it, this package also provides the KVM virtualization |
---|
201 | platform. |
---|
202 | |
---|
203 | %package system-ppc |
---|
204 | Summary: QEMU system emulator for ppc |
---|
205 | Group: Development/Tools |
---|
206 | Requires: %{name}-common = %{version}-%{release} |
---|
207 | # Requires: openbios-ppc |
---|
208 | %description system-ppc |
---|
209 | QEMU is a generic and open source processor emulator which achieves a good |
---|
210 | emulation speed by using dynamic translation. |
---|
211 | |
---|
212 | This package provides the system emulator for ppc |
---|
213 | |
---|
214 | %package system-sparc |
---|
215 | Summary: QEMU system emulator for sparc |
---|
216 | Group: Development/Tools |
---|
217 | Requires: %{name}-common = %{version}-%{release} |
---|
218 | %description system-sparc |
---|
219 | QEMU is a generic and open source processor emulator which achieves a good |
---|
220 | emulation speed by using dynamic translation. |
---|
221 | |
---|
222 | This package provides the system emulator for sparc |
---|
223 | |
---|
224 | %package system-arm |
---|
225 | Summary: QEMU system emulator for arm |
---|
226 | Group: Development/Tools |
---|
227 | Requires: %{name}-common = %{version}-%{release} |
---|
228 | %description system-arm |
---|
229 | QEMU is a generic and open source processor emulator which achieves a good |
---|
230 | emulation speed by using dynamic translation. |
---|
231 | |
---|
232 | This package provides the system emulator for arm |
---|
233 | |
---|
234 | %package system-mips |
---|
235 | Summary: QEMU system emulator for mips |
---|
236 | Group: Development/Tools |
---|
237 | Requires: %{name}-common = %{version}-%{release} |
---|
238 | %description system-mips |
---|
239 | QEMU is a generic and open source processor emulator which achieves a good |
---|
240 | emulation speed by using dynamic translation. |
---|
241 | |
---|
242 | This package provides the system emulator for mips |
---|
243 | |
---|
244 | %package system-cris |
---|
245 | Summary: QEMU system emulator for cris |
---|
246 | Group: Development/Tools |
---|
247 | Requires: %{name}-common = %{version}-%{release} |
---|
248 | %description system-cris |
---|
249 | QEMU is a generic and open source processor emulator which achieves a good |
---|
250 | emulation speed by using dynamic translation. |
---|
251 | |
---|
252 | This package provides the system emulator for cris |
---|
253 | |
---|
254 | %package system-m68k |
---|
255 | Summary: QEMU system emulator for m68k |
---|
256 | Group: Development/Tools |
---|
257 | Requires: %{name}-common = %{version}-%{release} |
---|
258 | %description system-m68k |
---|
259 | QEMU is a generic and open source processor emulator which achieves a good |
---|
260 | emulation speed by using dynamic translation. |
---|
261 | |
---|
262 | This package provides the system emulator for m68k |
---|
263 | |
---|
264 | %package system-sh4 |
---|
265 | Summary: QEMU system emulator for sh4 |
---|
266 | Group: Development/Tools |
---|
267 | Requires: %{name}-common = %{version}-%{release} |
---|
268 | %description system-sh4 |
---|
269 | QEMU is a generic and open source processor emulator which achieves a good |
---|
270 | emulation speed by using dynamic translation. |
---|
271 | |
---|
272 | This package provides the system emulator for sh4 |
---|
273 | |
---|
274 | %ifarch %{ix86} x86_64 |
---|
275 | %package kvm-tools |
---|
276 | Summary: KVM debugging and diagnostics tools |
---|
277 | Group: Development/Tools |
---|
278 | |
---|
279 | %description kvm-tools |
---|
280 | This package contains some diagnostics and debugging tools for KVM, |
---|
281 | such as kvmtrace and kvm_stat. |
---|
282 | %endif |
---|
283 | |
---|
284 | %prep |
---|
285 | %setup -q |
---|
286 | %patch0 -p1 |
---|
287 | |
---|
288 | %build |
---|
289 | # --build-id option is used fedora 8 onwards for giving info to the debug packages. |
---|
290 | extraldflags="-Wl,--build-id"; |
---|
291 | buildldflags="VL_LDFLAGS=-Wl,--build-id" |
---|
292 | |
---|
293 | %ifarch %{ix86} x86_64 |
---|
294 | # sdl outputs to alsa or pulseaudio depending on system config, but it's broken (#495964) |
---|
295 | # alsa works, but causes huge CPU load due to bugs |
---|
296 | # oss works, but is very problematic because it grabs exclusive control of the device causing other apps to go haywire |
---|
297 | ./configure \ |
---|
298 | --target-list=x86_64-softmmu \ |
---|
299 | --prefix=%{_prefix} \ |
---|
300 | --sysconfdir=%{_sysconfdir} \ |
---|
301 | --audio-drv-list=pa,sdl,alsa,oss \ |
---|
302 | --disable-strip \ |
---|
303 | --extra-ldflags=$extraldflags \ |
---|
304 | --extra-cflags="$RPM_OPT_FLAGS" \ |
---|
305 | --disable-xen |
---|
306 | |
---|
307 | echo "config-host.mak contents:" |
---|
308 | echo "===" |
---|
309 | cat config-host.mak |
---|
310 | echo "===" |
---|
311 | |
---|
312 | make V=1 %{?_smp_mflags} $buildldflags |
---|
313 | cp -a x86_64-softmmu/qemu-system-x86_64 qemu-kvm |
---|
314 | make clean |
---|
315 | |
---|
316 | %endif |
---|
317 | |
---|
318 | ./configure \ |
---|
319 | --target-list="i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu \ |
---|
320 | mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu \ |
---|
321 | ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu \ |
---|
322 | i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user \ |
---|
323 | armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user \ |
---|
324 | mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user \ |
---|
325 | sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user \ |
---|
326 | sparc32plus-linux-user" \ |
---|
327 | --prefix=%{_prefix} \ |
---|
328 | --sysconfdir=%{_sysconfdir} \ |
---|
329 | --interp-prefix=%{_prefix}/qemu-%%M \ |
---|
330 | --audio-drv-list=pa,sdl,alsa,oss \ |
---|
331 | --disable-kvm \ |
---|
332 | --disable-strip \ |
---|
333 | --extra-ldflags=$extraldflags \ |
---|
334 | --extra-cflags="$RPM_OPT_FLAGS" \ |
---|
335 | --disable-xen |
---|
336 | |
---|
337 | echo "config-host.mak contents:" |
---|
338 | echo "===" |
---|
339 | cat config-host.mak |
---|
340 | echo "===" |
---|
341 | |
---|
342 | make V=1 %{?_smp_mflags} $buildldflags |
---|
343 | |
---|
344 | %install |
---|
345 | rm -rf $RPM_BUILD_ROOT |
---|
346 | |
---|
347 | install -D -p -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_initdir}/ksm |
---|
348 | install -D -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ksm |
---|
349 | |
---|
350 | install -D -p -m 0755 %{SOURCE6} $RPM_BUILD_ROOT%{_initdir}/ksmtuned |
---|
351 | install -D -p -m 0755 %{SOURCE7} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned |
---|
352 | install -D -p -m 0644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf |
---|
353 | |
---|
354 | %ifarch %{ix86} x86_64 |
---|
355 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules |
---|
356 | mkdir -p $RPM_BUILD_ROOT%{_bindir}/ |
---|
357 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} |
---|
358 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d |
---|
359 | mkdir -p $RPM_BUILD_ROOT%{qemudocdir} |
---|
360 | |
---|
361 | install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/kvm.modules |
---|
362 | install -m 0755 scripts/kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}/ |
---|
363 | install -m 0755 qemu-kvm $RPM_BUILD_ROOT%{_bindir}/ |
---|
364 | install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d |
---|
365 | %endif |
---|
366 | |
---|
367 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
368 | chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man1/* |
---|
369 | install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_initdir}/qemu |
---|
370 | install -D -p -m 0644 -t ${RPM_BUILD_ROOT}%{qemudocdir} Changelog README COPYING COPYING.LIB LICENSE |
---|
371 | |
---|
372 | install -D -p -m 0644 qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl2/qemu.conf |
---|
373 | |
---|
374 | # comment out for Vine Linux, use orignal ROM image |
---|
375 | # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe*bin |
---|
376 | # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/vgabios*bin |
---|
377 | # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bios.bin |
---|
378 | # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-ppc |
---|
379 | # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc32 |
---|
380 | # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc64 |
---|
381 | rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe-eepro100.rom |
---|
382 | rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/petalogix*.dtb |
---|
383 | rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-zipl.rom |
---|
384 | rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-ccw.img |
---|
385 | rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bamboo.dtb |
---|
386 | rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/slof.bin |
---|
387 | rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/spapr-rtas.bin |
---|
388 | rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/palcode-clipper |
---|
389 | rm -rf ${RPM_BUILD_ROOT}%{_prefix}/lib/libcacard* |
---|
390 | rm -rf ${RPM_BUILD_ROOT}%{_prefix}/lib/pkgconfig/libcacard.pc |
---|
391 | rm -rf ${RPM_BUILD_ROOT}%{_includedir}/cacard |
---|
392 | rm -rf ${RPM_BUILD_ROOT}%{_includedir}/cacard |
---|
393 | |
---|
394 | |
---|
395 | # the pxe gpxe images will be symlinks to the images on |
---|
396 | # /usr/share/gpxe, as QEMU doesn't know how to look |
---|
397 | # for other paths, yet. |
---|
398 | pxe_link() { |
---|
399 | ln -s ../gpxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.bin |
---|
400 | } |
---|
401 | |
---|
402 | # comment out for Vine Linux, use orignal ROM image |
---|
403 | # pxe_link e1000 e1000-0x100e |
---|
404 | # pxe_link ne2k_pci rtl8029 |
---|
405 | # pxe_link pcnet pcnet32 |
---|
406 | # pxe_link rtl8139 rtl8139 |
---|
407 | # pxe_link virtio virtio-net |
---|
408 | # ln -s ../vgabios/VGABIOS-lgpl-latest.bin %{buildroot}/%{_datadir}/%{name}/vgabios.bin |
---|
409 | # ln -s ../vgabios/VGABIOS-lgpl-latest.cirrus.bin %{buildroot}/%{_datadir}/%{name}/vgabios-cirrus.bin |
---|
410 | # ln -s ../bochs/BIOS-bochs-kvm %{buildroot}/%{_datadir}/%{name}/bios.bin |
---|
411 | # ln -s ../openbios/openbios-ppc %{buildroot}/%{_datadir}/%{name}/openbios-ppc |
---|
412 | # ln -s ../openbios/openbios-sparc32 %{buildroot}/%{_datadir}/%{name}/openbios-sparc32 |
---|
413 | # ln -s ../openbios/openbios-sparc64 %{buildroot}/%{_datadir}/%{name}/openbios-sparc64 |
---|
414 | |
---|
415 | %clean |
---|
416 | rm -rf $RPM_BUILD_ROOT |
---|
417 | |
---|
418 | %post system-x86 |
---|
419 | %ifarch %{ix86} x86_64 |
---|
420 | # load kvm modules now, so we can make sure no reboot is needed. |
---|
421 | # If there's already a kvm module installed, we don't mess with it |
---|
422 | sh %{_sysconfdir}/sysconfig/modules/kvm.modules |
---|
423 | %endif |
---|
424 | |
---|
425 | %post common |
---|
426 | getent group kvm >/dev/null || groupadd -g 36 -r kvm |
---|
427 | getent group qemu >/dev/null || groupadd -g 107 -r qemu |
---|
428 | getent passwd qemu >/dev/null || \ |
---|
429 | useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ |
---|
430 | -c "qemu user" qemu |
---|
431 | |
---|
432 | /sbin/chkconfig --add ksm |
---|
433 | /sbin/chkconfig --add ksmtuned |
---|
434 | |
---|
435 | %preun common |
---|
436 | if [ $1 -eq 0 ]; then |
---|
437 | /sbin/service ksmtuned stop &>/dev/null || : |
---|
438 | /sbin/chkconfig --del ksmtuned |
---|
439 | /sbin/service ksm stop &>/dev/null || : |
---|
440 | /sbin/chkconfig --del ksm |
---|
441 | fi |
---|
442 | |
---|
443 | %postun common |
---|
444 | if [ $1 -ge 1 ]; then |
---|
445 | /sbin/service ksm condrestart &>/dev/null || : |
---|
446 | /sbin/service ksmtuned condrestart &>/dev/null || : |
---|
447 | fi |
---|
448 | |
---|
449 | %post user |
---|
450 | /sbin/chkconfig --add qemu |
---|
451 | |
---|
452 | %preun user |
---|
453 | if [ $1 -eq 0 ]; then |
---|
454 | /sbin/service qemu stop &>/dev/null || : |
---|
455 | /sbin/chkconfig --del qemu |
---|
456 | fi |
---|
457 | |
---|
458 | %postun user |
---|
459 | if [ $1 -ge 1 ]; then |
---|
460 | /sbin/service qemu condrestart &>/dev/null || : |
---|
461 | fi |
---|
462 | |
---|
463 | %files |
---|
464 | %defattr(-,root,root) |
---|
465 | |
---|
466 | %files kvm |
---|
467 | %defattr(-,root,root) |
---|
468 | |
---|
469 | %files common |
---|
470 | %defattr(-,root,root) |
---|
471 | %doc %{qemudocdir}/Changelog |
---|
472 | %doc %{qemudocdir}/README |
---|
473 | %doc %{qemudocdir}/qemu-doc.html |
---|
474 | %doc %{qemudocdir}/qemu-tech.html |
---|
475 | %doc %{qemudocdir}/qmp-commands.txt |
---|
476 | %doc %{qemudocdir}/COPYING |
---|
477 | %doc %{qemudocdir}/COPYING.LIB |
---|
478 | %doc %{qemudocdir}/LICENSE |
---|
479 | %dir %{_datadir}/%{name}/ |
---|
480 | %{_datadir}/%{name}/keymaps/ |
---|
481 | %{_datadir}/%{name}/trace-events |
---|
482 | %{_mandir}/man1/qemu.1* |
---|
483 | %{_mandir}/man1/virtfs-proxy-helper.1* |
---|
484 | %{_mandir}/man8/qemu-nbd.8* |
---|
485 | %{_bindir}/qemu-nbd |
---|
486 | %{_bindir}/virtfs-proxy-helper |
---|
487 | %{_libexecdir}/qemu-bridge-helper |
---|
488 | %config(noreplace) %{_sysconfdir}/sasl2/qemu.conf |
---|
489 | %{_initdir}/ksm |
---|
490 | %config(noreplace) %{_sysconfdir}/sysconfig/ksm |
---|
491 | %{_initdir}/ksmtuned |
---|
492 | %{_sbindir}/ksmtuned |
---|
493 | %config(noreplace) %{_sysconfdir}/ksmtuned.conf |
---|
494 | |
---|
495 | %files guest-agent |
---|
496 | %defattr(-,root,root,-) |
---|
497 | %doc COPYING README |
---|
498 | %{_bindir}/qemu-ga |
---|
499 | |
---|
500 | %files user |
---|
501 | %defattr(-,root,root) |
---|
502 | %{_initdir}/qemu |
---|
503 | %{_bindir}/qemu-alpha |
---|
504 | %{_bindir}/qemu-arm |
---|
505 | %{_bindir}/qemu-armeb |
---|
506 | %{_bindir}/qemu-cris |
---|
507 | %{_bindir}/qemu-i386 |
---|
508 | %{_bindir}/qemu-x86_64 |
---|
509 | %{_bindir}/qemu-m68k |
---|
510 | %{_bindir}/qemu-mips |
---|
511 | %{_bindir}/qemu-mipsel |
---|
512 | %{_bindir}/qemu-ppc |
---|
513 | %{_bindir}/qemu-ppc64 |
---|
514 | %{_bindir}/qemu-ppc64abi32 |
---|
515 | %{_bindir}/qemu-sh4 |
---|
516 | %{_bindir}/qemu-sh4eb |
---|
517 | %{_bindir}/qemu-sparc |
---|
518 | %{_bindir}/qemu-sparc64 |
---|
519 | %{_bindir}/qemu-sparc32plus |
---|
520 | |
---|
521 | %files system-x86 |
---|
522 | %defattr(-,root,root) |
---|
523 | %{_bindir}/qemu-system-i386 |
---|
524 | %{_bindir}/qemu-system-x86_64 |
---|
525 | %{_datadir}/%{name}/bios.bin |
---|
526 | %{_datadir}/%{name}/bios-256k.bin |
---|
527 | %{_datadir}/%{name}/sgabios.bin |
---|
528 | %{_datadir}/%{name}/linuxboot.bin |
---|
529 | %{_datadir}/%{name}/multiboot.bin |
---|
530 | %{_datadir}/%{name}/kvmvapic.bin |
---|
531 | %{_datadir}/%{name}/vgabios.bin |
---|
532 | %{_datadir}/%{name}/vgabios-cirrus.bin |
---|
533 | %{_datadir}/%{name}/vgabios-qxl.bin |
---|
534 | %{_datadir}/%{name}/vgabios-stdvga.bin |
---|
535 | %{_datadir}/%{name}/vgabios-vmware.bin |
---|
536 | %{_datadir}/%{name}/vgabios-virtio.bin |
---|
537 | %{_datadir}/%{name}/pxe-e1000.rom |
---|
538 | %{_datadir}/%{name}/pxe-virtio.rom |
---|
539 | %{_datadir}/%{name}/pxe-pcnet.rom |
---|
540 | %{_datadir}/%{name}/pxe-rtl8139.rom |
---|
541 | %{_datadir}/%{name}/pxe-ne2k_pci.rom |
---|
542 | %{_datadir}/%{name}/efi-e1000.rom |
---|
543 | %{_datadir}/%{name}/efi-eepro100.rom |
---|
544 | %{_datadir}/%{name}/efi-ne2k_pci.rom |
---|
545 | %{_datadir}/%{name}/efi-pcnet.rom |
---|
546 | %{_datadir}/%{name}/efi-rtl8139.rom |
---|
547 | %{_datadir}/%{name}/efi-virtio.rom |
---|
548 | %{_datadir}/%{name}/acpi-dsdt.aml |
---|
549 | %{_datadir}/%{name}/q35-acpi-dsdt.aml |
---|
550 | %{_datadir}/%{name}/qemu_logo_no_text.svg |
---|
551 | %{_datadir}/%{name}/qemu-icon.bmp |
---|
552 | %ifarch %{ix86} x86_64 |
---|
553 | %{_bindir}/qemu-kvm |
---|
554 | %{_sysconfdir}/sysconfig/modules/kvm.modules |
---|
555 | %{_sysconfdir}/udev/rules.d/80-kvm.rules |
---|
556 | %files kvm-tools |
---|
557 | %defattr(-,root,root,-) |
---|
558 | %{_bindir}/kvm_stat |
---|
559 | %endif |
---|
560 | |
---|
561 | %files system-sparc |
---|
562 | %defattr(-,root,root) |
---|
563 | %{_bindir}/qemu-system-sparc |
---|
564 | %{_datadir}/%{name}/openbios-sparc32 |
---|
565 | %{_datadir}/%{name}/openbios-sparc64 |
---|
566 | %{_datadir}/%{name}/QEMU,tcx.bin |
---|
567 | %{_datadir}/%{name}/QEMU,cgthree.bin |
---|
568 | |
---|
569 | %files system-arm |
---|
570 | %defattr(-,root,root) |
---|
571 | %{_bindir}/qemu-system-arm |
---|
572 | |
---|
573 | %files system-mips |
---|
574 | %defattr(-,root,root) |
---|
575 | %{_bindir}/qemu-system-mips |
---|
576 | %{_bindir}/qemu-system-mipsel |
---|
577 | %{_bindir}/qemu-system-mips64 |
---|
578 | %{_bindir}/qemu-system-mips64el |
---|
579 | |
---|
580 | %files system-ppc |
---|
581 | %defattr(-,root,root) |
---|
582 | %{_bindir}/qemu-system-ppc |
---|
583 | %{_bindir}/qemu-system-ppc64 |
---|
584 | %{_bindir}/qemu-system-ppcemb |
---|
585 | %{_datadir}/%{name}/openbios-ppc |
---|
586 | # %{_datadir}/%{name}/video.x |
---|
587 | # %{_datadir}/%{name}/bamboo.dtb |
---|
588 | %{_datadir}/%{name}/ppc_rom.bin |
---|
589 | %{_datadir}/%{name}/u-boot.e500 |
---|
590 | |
---|
591 | %files system-cris |
---|
592 | %defattr(-,root,root) |
---|
593 | %{_bindir}/qemu-system-cris |
---|
594 | |
---|
595 | %files system-m68k |
---|
596 | %defattr(-,root,root) |
---|
597 | %{_bindir}/qemu-system-m68k |
---|
598 | |
---|
599 | %files system-sh4 |
---|
600 | %defattr(-,root,root) |
---|
601 | %{_bindir}/qemu-system-sh4 |
---|
602 | %{_bindir}/qemu-system-sh4eb |
---|
603 | |
---|
604 | %files img |
---|
605 | %defattr(-,root,root) |
---|
606 | %{_bindir}/qemu-img |
---|
607 | %{_bindir}/qemu-io |
---|
608 | %{_bindir}/vscclient |
---|
609 | %{_mandir}/man1/qemu-img.1* |
---|
610 | |
---|
611 | %changelog |
---|
612 | * Sun Nov 08 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1 |
---|
613 | - new upstream release |
---|
614 | - add Patch0 (qemu-2.4.1-build-fix-vine.patch) |
---|
615 | |
---|
616 | * Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.1-1 |
---|
617 | - new upstream release |
---|
618 | |
---|
619 | * Sun Dec 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.0-1 |
---|
620 | - new upstream release |
---|
621 | |
---|
622 | * Sun Nov 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
623 | - update to qemu-1.6.1 |
---|
624 | - remove all patches |
---|
625 | |
---|
626 | * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
627 | - updated to qemu-kvm-1.2.0, based on Fedora 19 Package |
---|
628 | |
---|
629 | * Mon Nov 23 2009 NAKAMURA Kenta <kenta@vinelinux.org> - 0.11.0-12 |
---|
630 | - updated to qemu-kvm-0.11.0, based on Fedora 12 Package |
---|
631 | - Use %%{_initdir} macro instead of %%{_initddir} |
---|
632 | - previous Vine changelogs as follows: |
---|
633 | |
---|
634 | - Sun Nov 08 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.10.6-1 |
---|
635 | - added BuildRequires: alsa-lib-devel and gnutls-devel |
---|
636 | - updated Patch0, imported qemu-fix-debuginfo.patch from Fedora as Patch10 |
---|
637 | - updated Source1: qemu.init |
---|
638 | - dropped Obsolete Patch1, 4, 5 and 6 |
---|
639 | |
---|
640 | - Sun Feb 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.1-3 |
---|
641 | - rebuild with gnutls-2.6.3 |
---|
642 | - add patch6 from fedora development package |
---|
643 | |
---|
644 | - Sun Aug 24 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.1-2 |
---|
645 | - spec in UTF-8 |
---|
646 | - import several patches and treats from Fedora 0.9.1-10 |
---|
647 | |
---|
648 | - Tue Apr 22 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.1-1 |
---|
649 | - apply new versioning policy. |
---|
650 | - don't discard messages in %%post & %%preun. |
---|
651 | |
---|
652 | - Wed Jan 09 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.1-0vl1 |
---|
653 | - new upstream release. |
---|
654 | - use ./configure script and specify options. |
---|
655 | (some options given by %%configure macro causes errors...) |
---|
656 | - add BuildRequires: texi2html. |
---|
657 | - add html documents and man pages in %%files. |
---|
658 | |
---|
659 | - Wed Mar 07 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.0-0vl1 |
---|
660 | - new upstream release. |
---|
661 | - drop Patch2. |
---|
662 | |
---|
663 | - Mon Nov 13 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-0vl2 |
---|
664 | - set max-user-freq of rtc in qemu.init. |
---|
665 | |
---|
666 | - Thu Aug 03 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.2-0vl1 |
---|
667 | - new upstream release. |
---|
668 | - drop *.html and man qemu*. |
---|
669 | texi2html and pod2man is required to create these documents because |
---|
670 | document creation is now optional. But texi2html and pod2man are not |
---|
671 | exist in current vine repository. |
---|
672 | |
---|
673 | - Sat Jun 17 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.8.1-0vl1 |
---|
674 | - new upstream release. |
---|
675 | - update description. |
---|
676 | - add japanese description. |
---|
677 | - update Patch1(qemu-0.7.0-build.patch) to Patch3(qemu-0.8.1-build.patch) |
---|
678 | - add %%{_datadir}/qemu/video.x in %%files section. |
---|
679 | - add man files installation script in %%install section. |
---|
680 | - change Group to Applications/Other. |
---|
681 | |
---|
682 | - Tue Sep 6 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-0vl1 |
---|
683 | - new upstream release |
---|
684 | |
---|
685 | - Wed May 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0vl2 |
---|
686 | - fix kanjicode in specfile. |
---|
687 | |
---|
688 | - Fri May 06 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0vl1 |
---|
689 | - initial build for Vine Linux |
---|
690 | |
---|
691 | * Wed Nov 4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-11 |
---|
692 | - Temporarily disable preadv/pwritev support to fix data corruption (#526549) |
---|
693 | |
---|
694 | * Tue Nov 3 2009 Justin M. Forbes <jforbes@redhat.com> - 2:0.11.0-10 |
---|
695 | - Default ksm and ksmtuned services on. |
---|
696 | |
---|
697 | * Thu Oct 29 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-9 |
---|
698 | - Fix dropped packets with non-virtio NICs (#531419) |
---|
699 | |
---|
700 | * Wed Oct 21 2009 Glauber Costa <gcosta@redhat.com> - 2:0.11.0-8 |
---|
701 | - Properly save kvm time registers (#524229) |
---|
702 | |
---|
703 | * Mon Oct 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-7 |
---|
704 | - Fix potential segfault from too small MSR_COUNT (#528901) |
---|
705 | |
---|
706 | * Fri Oct 9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-6 |
---|
707 | - Fix fs errors with virtio and qcow2 backing file (#524734) |
---|
708 | - Fix ksm initscript errors on kernel missing ksm (#527653) |
---|
709 | - Add missing Requires(post): getent, useradd, groupadd (#527087) |
---|
710 | |
---|
711 | * Tue Oct 6 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-5 |
---|
712 | - Add 'retune' verb to ksmtuned init script |
---|
713 | |
---|
714 | * Mon Oct 5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-4 |
---|
715 | - Use rtl8029 PXE rom for ne2k_pci, not ne (#526777) |
---|
716 | - Also, replace the gpxe-roms-qemu pkg requires with file-based requires |
---|
717 | |
---|
718 | * Thu Oct 1 2009 Justin M. Forbes <jmforbes@redhat.com> - 2:0.11.0-3 |
---|
719 | - Improve error reporting on file access (#524695) |
---|
720 | |
---|
721 | * Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-2 |
---|
722 | - Fix pci hotplug to not exit if supplied an invalid NIC model (#524022) |
---|
723 | |
---|
724 | * Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-1 |
---|
725 | - Update to 0.11.0 release |
---|
726 | - Drop a couple of upstreamed patches |
---|
727 | |
---|
728 | * Wed Sep 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-5 |
---|
729 | - Fix issue causing NIC hotplug confusion when no model is specified (#524022) |
---|
730 | |
---|
731 | * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-4 |
---|
732 | - Fix for KSM patch from Justin Forbes |
---|
733 | |
---|
734 | * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-3 |
---|
735 | - Add ksmtuned, also from Dan Kenigsberg |
---|
736 | - Use %_initddir macro |
---|
737 | |
---|
738 | * Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-2 |
---|
739 | - Add ksm control script from Dan Kenigsberg |
---|
740 | |
---|
741 | * Mon Sep 7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-1 |
---|
742 | - Update to qemu-kvm-0.11.0-rc2 |
---|
743 | - Drop upstreamed patches |
---|
744 | - extboot install now fixed upstream |
---|
745 | - Re-place TCG init fix (#516543) with the one gone upstream |
---|
746 | |
---|
747 | * Mon Sep 7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.10.rc1 |
---|
748 | - Fix MSI-X error handling on older kernels (#519787) |
---|
749 | |
---|
750 | * Fri Sep 4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.9.rc1 |
---|
751 | - Make pulseaudio the default audio backend (#519540, #495964, #496627) |
---|
752 | |
---|
753 | * Thu Aug 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2:0.10.91-0.8.rc1 |
---|
754 | - Fix segfault when qemu-kvm is invoked inside a VM (#516543) |
---|
755 | |
---|
756 | * Tue Aug 18 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.7.rc1 |
---|
757 | - Fix permissions on udev rules (#517571) |
---|
758 | |
---|
759 | * Mon Aug 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 2:0.10.91-0.6.rc1 |
---|
760 | - Allow blacklisting of kvm modules (#517866) |
---|
761 | |
---|
762 | * Fri Aug 7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.5.rc1 |
---|
763 | - Fix virtio_net with -net user (#516022) |
---|
764 | |
---|
765 | * Tue Aug 4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.4.rc1 |
---|
766 | - Update to qemu-kvm-0.11-rc1; no changes from rc1-rc0 |
---|
767 | |
---|
768 | * Tue Aug 4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.3.rc1.rc0 |
---|
769 | - Fix extboot checksum (bug #514899) |
---|
770 | |
---|
771 | * Fri Jul 31 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.2.rc1.rc0 |
---|
772 | - Add KSM support |
---|
773 | - Require bochs-bios >= 2.3.8-0.8 for latest kvm bios updates |
---|
774 | |
---|
775 | * Thu Jul 30 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.1.rc1.rc0 |
---|
776 | - Update to qemu-kvm-0.11.0-rc1-rc0 |
---|
777 | - This is a pre-release of the official -rc1 |
---|
778 | - A vista installer regression is blocking the official -rc1 release |
---|
779 | - Drop qemu-prefer-sysfs-for-usb-host-devices.patch |
---|
780 | - Drop qemu-fix-build-for-esd-audio.patch |
---|
781 | - Drop qemu-slirp-Fix-guestfwd-for-incoming-data.patch |
---|
782 | - Add patch to ensure extboot.bin is installed |
---|
783 | |
---|
784 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.10.50-14.kvm88 |
---|
785 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
786 | |
---|
787 | * Thu Jul 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-13.kvm88 |
---|
788 | - Fix bug 513249, -net channel option is broken |
---|
789 | |
---|
790 | * Thu Jul 16 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.10.50-12.kvm88 |
---|
791 | - Add 'qemu' user and group accounts |
---|
792 | - Force disable xen until it can be made to build |
---|
793 | |
---|
794 | * Thu Jul 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-11.kvm88 |
---|
795 | - Update to kvm-88, see http://www.linux-kvm.org/page/ChangeLog |
---|
796 | - Package mutiboot.bin |
---|
797 | - Update for how extboot is built |
---|
798 | - Fix sf.net source URL |
---|
799 | - Drop qemu-fix-ppc-softmmu-kvm-disabled-build.patch |
---|
800 | - Drop qemu-fix-pcspk-build-with-kvm-disabled.patch |
---|
801 | - Cherry-pick fix for esound support build failure |
---|
802 | |
---|
803 | * Wed Jul 15 2009 Daniel Berrange <berrange@lettuce.camlab.fab.redhat.com> - 2:0.10.50-10.kvm87 |
---|
804 | - Add udev rules to make /dev/kvm world accessible & group=kvm (rhbz #497341) |
---|
805 | - Create a kvm group if it doesn't exist (rhbz #346151) |
---|
806 | |
---|
807 | * Tue Jul 07 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-9.kvm87 |
---|
808 | - use pxe roms from gpxe, instead of etherboot package. |
---|
809 | |
---|
810 | * Fri Jul 3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-8.kvm87 |
---|
811 | - Prefer sysfs over usbfs for usb passthrough (#508326) |
---|
812 | |
---|
813 | * Sat Jun 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-7.kvm87 |
---|
814 | - Update to kvm-87 |
---|
815 | - Drop upstreamed patches |
---|
816 | - Cherry-pick new ppc build fix from upstream |
---|
817 | - Work around broken linux-user build on ppc |
---|
818 | - Fix hw/pcspk.c build with --disable-kvm |
---|
819 | - Re-enable preadv()/pwritev() since #497429 is long since fixed |
---|
820 | - Kill petalogix-s3adsp1800.dtb, since we don't ship the microblaze target |
---|
821 | |
---|
822 | * Fri Jun 5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-6.kvm86 |
---|
823 | - Fix 'kernel requires an x86-64 CPU' error |
---|
824 | - BuildRequires ncurses-devel to enable '-curses' option (#504226) |
---|
825 | |
---|
826 | * Wed Jun 3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-5.kvm86 |
---|
827 | - Prevent locked cdrom eject - fixes hang at end of anaconda installs (#501412) |
---|
828 | - Avoid harmless 'unhandled wrmsr' warnings (#499712) |
---|
829 | |
---|
830 | * Thu May 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-4.kvm86 |
---|
831 | - Update to kvm-86 release |
---|
832 | - ChangeLog here: http://marc.info/?l=kvm&m=124282885729710 |
---|
833 | |
---|
834 | * Fri May 1 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-3.kvm85 |
---|
835 | - Really provide qemu-kvm as a metapackage for comps |
---|
836 | |
---|
837 | * Tue Apr 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-2.kvm85 |
---|
838 | - Provide qemu-kvm as a metapackage for comps |
---|
839 | |
---|
840 | * Mon Apr 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-1.kvm85 |
---|
841 | - Update to qemu-kvm-devel-85 |
---|
842 | - kvm-85 is based on qemu development branch, currently version 0.10.50 |
---|
843 | - Include new qemu-io utility in qemu-img package |
---|
844 | - Re-instate -help string for boot=on to fix virtio booting with libvirt |
---|
845 | - Drop upstreamed patches |
---|
846 | - Fix missing kernel/include/asm symlink in upstream tarball |
---|
847 | - Fix target-arm build |
---|
848 | - Fix build on ppc |
---|
849 | - Disable preadv()/pwritev() until bug #497429 is fixed |
---|
850 | - Kill more .kernelrelease uselessness |
---|
851 | - Make non-kvm qemu build verbose |
---|
852 | |
---|
853 | * Fri Apr 24 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-15 |
---|
854 | - Fix source numbering typos caused by make-release addition |
---|
855 | |
---|
856 | * Thu Apr 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-14 |
---|
857 | - Improve instructions for generating the tarball |
---|
858 | |
---|
859 | * Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-13 |
---|
860 | - Enable pulseaudio driver to fix qemu lockup at shutdown (#495964) |
---|
861 | |
---|
862 | * Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-12 |
---|
863 | - Another qcow2 image corruption fix (#496642) |
---|
864 | |
---|
865 | * Mon Apr 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-11 |
---|
866 | - Fix qcow2 image corruption (#496642) |
---|
867 | |
---|
868 | * Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-10 |
---|
869 | - Run sysconfig.modules from %post on x86_64 too (#494739) |
---|
870 | |
---|
871 | * Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-9 |
---|
872 | - Align VGA ROM to 4k boundary - fixes 'qemu-kvm -std vga' (#494376) |
---|
873 | |
---|
874 | * Tue Apr 14 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-8 |
---|
875 | - Provide qemu-kvm conditional on the architecture. |
---|
876 | |
---|
877 | * Thu Apr 9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-7 |
---|
878 | - Add a much cleaner fix for vga segfault (#494002) |
---|
879 | |
---|
880 | * Sun Apr 5 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-6 |
---|
881 | - Fixed qcow2 segfault creating disks over 2TB. #491943 |
---|
882 | |
---|
883 | * Fri Apr 3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-5 |
---|
884 | - Fix vga segfault under kvm-autotest (#494002) |
---|
885 | - Kill kernelrelease hack; it's not needed |
---|
886 | - Build with "make V=1" for more verbose logs |
---|
887 | |
---|
888 | * Thu Apr 02 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-4 |
---|
889 | - Support botting gpxe roms. |
---|
890 | |
---|
891 | * Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-2 |
---|
892 | - added missing patch. love for CVS. |
---|
893 | |
---|
894 | * Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-1 |
---|
895 | - Include debuginfo for qemu-img |
---|
896 | - Do not require qemu-common for qemu-img |
---|
897 | - Explicitly own each of the firmware files |
---|
898 | - remove firmwares for ppc and sparc. They should be provided by an external package. |
---|
899 | Not that the packages exists for sparc in the secondary arch repo as noarch, but they |
---|
900 | don't automatically get into main repos. Unfortunately it's the best we can do right |
---|
901 | now. |
---|
902 | - rollback a bit in time. Snapshot from avi's maint/2.6.30 |
---|
903 | - this requires the sasl patches to come back. |
---|
904 | - with-patched-kernel comes back. |
---|
905 | |
---|
906 | * Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-0.12.kvm20090323git |
---|
907 | - BuildRequires pciutils-devel for device assignment (#492076) |
---|
908 | |
---|
909 | * Mon Mar 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.11.kvm20090323git |
---|
910 | - Update to snapshot kvm20090323. |
---|
911 | - Removed patch2 (upstream). |
---|
912 | - use upstream's new split package. |
---|
913 | - --with-patched-kernel flag not needed anymore |
---|
914 | - Tell how to get the sources. |
---|
915 | |
---|
916 | * Wed Mar 18 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.10.kvm20090310git |
---|
917 | - Added extboot to files list. |
---|
918 | |
---|
919 | * Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.9.kvm20090310git |
---|
920 | - Fix wrong reference to bochs bios. |
---|
921 | |
---|
922 | * Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.8.kvm20090310git |
---|
923 | - fix Obsolete/Provides pair |
---|
924 | - Use kvm bios from bochs-bios package. |
---|
925 | - Using RPM_OPT_FLAGS in configure |
---|
926 | - Picked back audio-drv-list from kvm package |
---|
927 | |
---|
928 | * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.7.kvm20090310git |
---|
929 | - modify ppc patch |
---|
930 | |
---|
931 | * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.6.kvm20090310git |
---|
932 | - updated to kvm20090310git |
---|
933 | - removed sasl patches (already in this release) |
---|
934 | |
---|
935 | * Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.5.kvm20090303git |
---|
936 | - kvm.modules were being wrongly mentioned at %%install. |
---|
937 | - update description for the x86 system package to include kvm support |
---|
938 | - build kvm's own bios. It is still necessary while kvm uses a slightly different |
---|
939 | irq routing mechanism |
---|
940 | |
---|
941 | * Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.4.kvm20090303git |
---|
942 | - seems Epoch does not go into the tags. So start back here. |
---|
943 | |
---|
944 | * Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.1.kvm20090303git |
---|
945 | - Use bochs-bios instead of bochs-bios-data |
---|
946 | - It's official: upstream set on 0.10 |
---|
947 | |
---|
948 | * Thu Mar 5 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.9.2-0.2.kvm20090303git |
---|
949 | - Added BSD to license list, since many files are covered by BSD |
---|
950 | |
---|
951 | * Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.9.2-0.1.kvm20090303git |
---|
952 | - missing a dot. shame on me |
---|
953 | |
---|
954 | * Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.92-0.1.kvm20090303git |
---|
955 | - Set Epoch to 2 |
---|
956 | - Set version to 0.92. It seems upstream keep changing minds here, so pick the lowest |
---|
957 | - Provides KVM, Obsoletes KVM |
---|
958 | - Only install qemu-kvm in ix86 and x86_64 |
---|
959 | - Remove pkgdesc macros, as they were generating bogus output for rpm -qi. |
---|
960 | - fix ppc and ppc64 builds |
---|
961 | |
---|
962 | * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.3.kvm20090303git |
---|
963 | - only execute post scripts for user package. |
---|
964 | - added kvm tools. |
---|
965 | |
---|
966 | * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.2.kvm20090303git |
---|
967 | - put kvm.modules into cvs |
---|
968 | |
---|
969 | * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.1.kvm20090303git |
---|
970 | - Set Epoch to 1 |
---|
971 | - Build KVM (basic build, no tools yet) |
---|
972 | - Set ppc in ExcludeArch. This is temporary, just to fix one issue at a time. |
---|
973 | ppc users (IBM ? ;-)) please wait a little bit. |
---|
974 | |
---|
975 | * Tue Mar 3 2009 Daniel P. Berrange <berrange@redhat.com> - 1.0-0.5.svn6666 |
---|
976 | - Support VNC SASL authentication protocol |
---|
977 | - Fix dep on bochs-bios-data |
---|
978 | |
---|
979 | * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.4.svn6666 |
---|
980 | - use bios from bochs-bios package. |
---|
981 | |
---|
982 | * Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.3.svn6666 |
---|
983 | - use vgabios from vgabios package. |
---|
984 | |
---|
985 | * Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.2.svn6666 |
---|
986 | - use pxe roms from etherboot package. |
---|
987 | |
---|
988 | * Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.1.svn6666 |
---|
989 | - Updated to tip svn (release 6666). Featuring split packages for qemu. |
---|
990 | Unfortunately, still using binary blobs for the bioses. |
---|
991 | |
---|
992 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13 |
---|
993 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
994 | |
---|
995 | * Sun Jan 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.9.1-12 |
---|
996 | - Updated build patch. Closes Red Hat Bugzilla bug #465041. |
---|
997 | |
---|
998 | * Wed Dec 31 2008 Dennis Gilmore <dennis@ausil.us> - 0.9.1-11 |
---|
999 | - add sparcv9 and sparc64 support |
---|
1000 | |
---|
1001 | * Fri Jul 25 2008 Bill Nottingham <notting@redhat.com> |
---|
1002 | - Fix qemu-img summary (#456344) |
---|
1003 | |
---|
1004 | * Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-10.fc10 |
---|
1005 | - Rebuild for GNU TLS ABI change |
---|
1006 | |
---|
1007 | * Wed Jun 11 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-9.fc10 |
---|
1008 | - Remove bogus wildcard from files list (rhbz #450701) |
---|
1009 | |
---|
1010 | * Sat May 17 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-8 |
---|
1011 | - Register binary handlers also for shared libraries |
---|
1012 | |
---|
1013 | * Mon May 5 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-7.fc10 |
---|
1014 | - Fix text console PTYs to be in rawmode |
---|
1015 | |
---|
1016 | * Sun Apr 27 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.9.1-6 |
---|
1017 | - Register binary handler for SuperH-4 CPU |
---|
1018 | |
---|
1019 | * Wed Mar 19 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-5.fc9 |
---|
1020 | - Split qemu-img tool into sub-package for smaller footprint installs |
---|
1021 | |
---|
1022 | * Wed Feb 27 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-4.fc9 |
---|
1023 | - Fix block device checks for extendable disk formats (rhbz #435139) |
---|
1024 | |
---|
1025 | * Sat Feb 23 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-3.fc9 |
---|
1026 | - Fix block device extents check (rhbz #433560) |
---|
1027 | |
---|
1028 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-2 |
---|
1029 | - Autorebuild for GCC 4.3 |
---|
1030 | |
---|
1031 | * Tue Jan 8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-1.fc9 |
---|
1032 | - Updated to 0.9.1 release |
---|
1033 | - Fix license tag syntax |
---|
1034 | - Don't mark init script as a config file |
---|
1035 | |
---|
1036 | * Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-5.fc8 |
---|
1037 | - Fix rtl8139 checksum calculation for Vista (rhbz #308201) |
---|
1038 | |
---|
1039 | * Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-4.fc8 |
---|
1040 | - Fix debuginfo by passing -Wl,--build-id to linker |
---|
1041 | |
---|
1042 | * Tue Aug 28 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-4 |
---|
1043 | - Update licence |
---|
1044 | - Fix CDROM emulation (#253542) |
---|
1045 | |
---|
1046 | * Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-3.fc8 |
---|
1047 | - Added backport of VNC password auth, and TLS+x509 cert auth |
---|
1048 | - Switch to rtl8139 NIC by default for linkstate reporting |
---|
1049 | - Fix rtl8139 mmio region mappings with multiple NICs |
---|
1050 | |
---|
1051 | * Sun Apr 1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.0-2 |
---|
1052 | - Fix direct loading of a linux kernel with -kernel & -initrd (bz 234681) |
---|
1053 | - Remove spurious execute bits from manpages (bz 222573) |
---|
1054 | |
---|
1055 | * Tue Feb 6 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-1 |
---|
1056 | - Update to 0.9.0 |
---|
1057 | |
---|
1058 | * Wed Jan 31 2007 David Woodhouse <dwmw2@infradead.org> 0.8.2-5 |
---|
1059 | - Include licences |
---|
1060 | |
---|
1061 | * Mon Nov 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.2-4 |
---|
1062 | - Backport patch to make FC6 guests work by Kevin Kofler |
---|
1063 | <Kevin@tigcc.ticalc.org> (bz 207843). |
---|
1064 | |
---|
1065 | * Mon Sep 11 2006 David Woodhouse <dwmw2@infradead.org> 0.8.2-3 |
---|
1066 | - Rebuild |
---|
1067 | |
---|
1068 | * Thu Aug 24 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-2 |
---|
1069 | - Remove the target-list iteration for x86_64 since they all build again. |
---|
1070 | - Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for |
---|
1071 | FC5 and FC6. |
---|
1072 | |
---|
1073 | * Wed Aug 23 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-1 |
---|
1074 | - Update to 0.8.2 (#200065). |
---|
1075 | - Drop upstreamed syscall-macros patch2. |
---|
1076 | - Put correct scriplet dependencies. |
---|
1077 | - Force install mode for the init script to avoid umask problems. |
---|
1078 | - Add %%postun condrestart for changes to the init script to be applied if any. |
---|
1079 | - Update description with the latest "about" from the web page (more current). |
---|
1080 | - Update URL to qemu.org one like the Source. |
---|
1081 | - Add which build requirement. |
---|
1082 | - Don't include texi files in %%doc since we ship them in html. |
---|
1083 | - Switch to using gcc34 on devel, FC5 still has gcc32. |
---|
1084 | - Add kernheaders patch to fix linux/compiler.h inclusion. |
---|
1085 | - Add target-sparc patch to fix compiling on ppc (some int32 to float). |
---|
1086 | |
---|
1087 | * Thu Jun 8 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-3 |
---|
1088 | - More header abuse in modify_ldt(), change BuildRoot: |
---|
1089 | |
---|
1090 | * Wed Jun 7 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-2 |
---|
1091 | - Fix up kernel header abuse |
---|
1092 | |
---|
1093 | * Tue May 30 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-1 |
---|
1094 | - Update to 0.8.1 |
---|
1095 | |
---|
1096 | * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-6 |
---|
1097 | - Update linker script for PPC |
---|
1098 | |
---|
1099 | * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-5 |
---|
1100 | - Just drop $RPM_OPT_FLAGS. They're too much of a PITA |
---|
1101 | |
---|
1102 | * Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-4 |
---|
1103 | - Disable stack-protector options which gcc 3.2 doesn't like |
---|
1104 | |
---|
1105 | * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-3 |
---|
1106 | - Use -mcpu= instead of -mtune= on x86_64 too |
---|
1107 | - Disable SPARC targets on x86_64, because dyngen doesn't like fnegs |
---|
1108 | |
---|
1109 | * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-2 |
---|
1110 | - Don't use -mtune=pentium4 on i386. GCC 3.2 doesn't like it |
---|
1111 | |
---|
1112 | * Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-1 |
---|
1113 | - Update to 0.8.0 |
---|
1114 | - Resort to using compat-gcc-32 |
---|
1115 | - Enable ALSA |
---|
1116 | |
---|
1117 | * Mon May 16 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-2 |
---|
1118 | - Proper fix for GCC 4 putting 'blr' or 'ret' in the middle of the function, |
---|
1119 | for i386, x86_64 and PPC. |
---|
1120 | |
---|
1121 | * Sat Apr 30 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-1 |
---|
1122 | - Update to 0.7.0 |
---|
1123 | - Fix dyngen for PPC functions which end in unconditional branch |
---|
1124 | |
---|
1125 | * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
1126 | - rebuilt |
---|
1127 | |
---|
1128 | * Sun Feb 13 2005 David Woodhouse <dwmw2@infradead.org> 0.6.1-2 |
---|
1129 | - Package cleanup |
---|
1130 | |
---|
1131 | * Sun Nov 21 2004 David Woodhouse <dwmw2@redhat.com> 0.6.1-1 |
---|
1132 | - Update to 0.6.1 |
---|
1133 | |
---|
1134 | * Tue Jul 20 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-2 |
---|
1135 | - Compile fix from qemu CVS, add x86_64 host support |
---|
1136 | |
---|
1137 | * Wed May 12 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-1 |
---|
1138 | - Update to 0.6.0. |
---|
1139 | |
---|
1140 | * Sat May 8 2004 David Woodhouse <dwmw2@redhat.com> 0.5.5-1 |
---|
1141 | - Update to 0.5.5. |
---|
1142 | |
---|
1143 | * Sun May 2 2004 David Woodhouse <dwmw2@redhat.com> 0.5.4-1 |
---|
1144 | - Update to 0.5.4. |
---|
1145 | |
---|
1146 | * Thu Apr 22 2004 David Woodhouse <dwmw2@redhat.com> 0.5.3-1 |
---|
1147 | - Update to 0.5.3. Add init script. |
---|
1148 | |
---|
1149 | * Thu Jul 17 2003 Jeff Johnson <jbj@redhat.com> 0.4.3-1 |
---|
1150 | - Create. |
---|