Summary: QEMU is a FAST! processor emulator Summary(ja): QEMU 高速なプロセッサ・エミュレーター Name: qemu Version: 2.5.1.1 Release: 2%{?_dist_release} License: GPLv2+ and LGPLv2+ and BSD Group: Development/Tools URL: http://www.qemu.org/ Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2 Source1: qemu.init # Loads kvm kernel modules at boot Source2: kvm.modules # Creates /dev/kvm Source3: 80-kvm.rules # KSM control scripts Source4: ksm.init Source5: ksm.sysconfig Source6: ksmtuned.init Source7: ksmtuned Source8: ksmtuned.conf Patch0: qemu-2.4.1-build-fix-vine.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel BuildRequires: libaio-devel BuildRequires: rsync BuildRequires: pciutils-devel BuildRequires: pulseaudio-libs-devel BuildRequires: alsa-lib-devel BuildRequires: ncurses-devel BuildRequires: libattr-devel BuildRequires: usbredir-devel >= 0.4.1 BuildRequires: texinfo %ifarch %{ix86} x86_64 BuildRequires: spice-protocol >= 0.8.1 BuildRequires: spice-server-devel >= 0.9.0 %endif # For network block driver BuildRequires: curl-devel %if %{with rbd} # For rbd block driver BuildRequires: ceph-devel %endif # We need both because the 'stap' binary is probed for by configure BuildRequires: systemtap BuildRequires: systemtap-sdt-devel # For smartcard NSS support BuildRequires: nss-devel # For XFS discard support in raw-posix.c BuildRequires: xfsprogs-devel # For VNC JPEG support BuildRequires: libjpeg-turbo-devel # For VNC PNG support BuildRequires: libpng-devel # For uuid generation BuildRequires: libuuid-devel # For BlueZ device support BuildRequires: bluez-libs-devel # For Braille device support BuildRequires: brlapi-devel %if %{with fdt} # For FDT device tree support BuildRequires: libfdt-devel %endif # For test suite BuildRequires: check-devel # For virtfs BuildRequires: libcap-devel Requires: %{name}-user = %{version}-%{release} Requires: %{name}-system-x86 = %{version}-%{release} Requires: %{name}-system-sparc = %{version}-%{release} Requires: %{name}-system-arm = %{version}-%{release} Requires: %{name}-system-cris = %{version}-%{release} Requires: %{name}-system-sh4 = %{version}-%{release} Requires: %{name}-system-m68k = %{version}-%{release} Requires: %{name}-system-mips = %{version}-%{release} Requires: %{name}-system-ppc = %{version}-%{release} Requires: %{name}-img = %{version}-%{release} %define qemudocdir %{_docdir}/%{name} %description QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. QEMU has two operating modes: * Full system emulation. In this mode, QEMU emulates a full system (for example a PC), including a processor and various peripherials. It can be used to launch different Operating Systems without rebooting the PC or to debug system code. * User mode emulation. In this mode, QEMU can launch Linux processes compiled for one CPU on another CPU. As QEMU requires no host kernel patches to run, it is safe and easy to use. %description -l ja QEMU オープンソースな汎用のプロセッサエミュレータです。ダイナミック・トランス レーションを利用することにより、優れたエミュレーション速度を実現しています。 QEMU には2つのエミュレーション・モードがあります: * フルシステム・エミュレーション。このモードでは、QEMU は1つ又は複数のプロセッサ や周辺装置を含めたすべてのシステム(例えば1台のPC)をエミュレートします。これは PC を再起動することなく別の OS を起動したり、システム・コードをデバッグする 時に利用できます。 * ユーザーモード・エミュレーション。このモードでは、QEMU はある CPU に対してコン パイルされた Linux プログラムを別の CPU 上で実行できます。 QEMU はホスト用のカーネルにパッチを適用すること無しに実行できるので、簡単に使え てしかも安全です。 %package kvm Summary: QEMU metapackage for KVM support Summary(ja): KVM サポートのための QEMU メタ・パッケージ Group: Development/Tools %ifarch %{ix86} x86_64 Requires: qemu-system-x86 = %{version}-%{release} %endif %ifarch ppc ppc64 Requires: qemu-system-ppc = %{version}-%{release} %endif %description kvm This is a meta-package that provides a qemu-system- package for native architectures where kvm can be enabled. For example, in an x86 system, this will install qemu-system-x86 %package img Summary: QEMU command line tool for manipulating disk images Group: Development/Tools %description img This package provides a command line tool for manipulating disk images %package common Summary: QEMU common files needed by all QEMU targets Group: Development/Tools Requires(post): /usr/bin/getent Requires(post): /usr/sbin/groupadd Requires(post): /usr/sbin/useradd Requires(post): /sbin/chkconfig Requires(preun): /sbin/service /sbin/chkconfig Requires(postun): /sbin/service %description common QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides the common files needed by all QEMU targets %package guest-agent Summary: QEMU guest agent Group: System Environment/Daemons %description guest-agent QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides an agent to run inside guests, which communicates with the host over a virtio-serial channel named "org.qemu.guest_agent.0" This package does not need to be installed on the host OS. %package user Summary: QEMU user mode emulation of qemu targets Group: Development/Tools Requires: %{name}-common = %{version}-%{release} Requires(post): /sbin/chkconfig Requires(preun): /sbin/service /sbin/chkconfig Requires(postun): /sbin/service %description user QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides the user mode emulation of qemu targets %package system-x86 Summary: QEMU system emulator for x86 Group: Development/Tools Requires: %{name}-common = %{version}-%{release} Provides: kvm = 85 Obsoletes: kvm < 85 # Requires: vgabios # Requires: bochs-bios >= 2.3.8-0.8 # Requires: /usr/share/gpxe/e1000-0x100e.rom # Requires: /usr/share/gpxe/rtl8029.rom # Requires: /usr/share/gpxe/pcnet32.rom # Requires: /usr/share/gpxe/rtl8139.rom # Requires: /usr/share/gpxe/virtio-net.rom %description system-x86 QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides the system emulator for x86. When being run in a x86 machine that supports it, this package also provides the KVM virtualization platform. %package system-ppc Summary: QEMU system emulator for ppc Group: Development/Tools Requires: %{name}-common = %{version}-%{release} # Requires: openbios-ppc %description system-ppc QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides the system emulator for ppc %package system-sparc Summary: QEMU system emulator for sparc Group: Development/Tools Requires: %{name}-common = %{version}-%{release} %description system-sparc QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides the system emulator for sparc %package system-arm Summary: QEMU system emulator for arm Group: Development/Tools Requires: %{name}-common = %{version}-%{release} %description system-arm QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides the system emulator for arm %package system-mips Summary: QEMU system emulator for mips Group: Development/Tools Requires: %{name}-common = %{version}-%{release} %description system-mips QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides the system emulator for mips %package system-cris Summary: QEMU system emulator for cris Group: Development/Tools Requires: %{name}-common = %{version}-%{release} %description system-cris QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides the system emulator for cris %package system-m68k Summary: QEMU system emulator for m68k Group: Development/Tools Requires: %{name}-common = %{version}-%{release} %description system-m68k QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides the system emulator for m68k %package system-sh4 Summary: QEMU system emulator for sh4 Group: Development/Tools Requires: %{name}-common = %{version}-%{release} %description system-sh4 QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation. This package provides the system emulator for sh4 %ifarch %{ix86} x86_64 %package kvm-tools Summary: KVM debugging and diagnostics tools Group: Development/Tools %description kvm-tools This package contains some diagnostics and debugging tools for KVM, such as kvmtrace and kvm_stat. %endif %package ivshmem-tools Summary: Client and server for QEMU ivshmem device Group: Development/Tools Requires: %{name}-common = %{version}-%{release} Provides: ivshmem-tools = %{version}-%{release} %description ivshmem-tools This package provides client and server tools for QEMU's ivshmem device. %prep %setup -q %patch0 -p1 %build # --build-id option is used fedora 8 onwards for giving info to the debug packages. extraldflags="-Wl,--build-id"; buildldflags="VL_LDFLAGS=-Wl,--build-id" %ifarch %{ix86} x86_64 # sdl outputs to alsa or pulseaudio depending on system config, but it's broken (#495964) # alsa works, but causes huge CPU load due to bugs # oss works, but is very problematic because it grabs exclusive control of the device causing other apps to go haywire ./configure \ --target-list=x86_64-softmmu \ --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} \ --audio-drv-list=pa,sdl,alsa,oss \ --disable-strip \ --extra-ldflags=$extraldflags \ --extra-cflags="$RPM_OPT_FLAGS" \ --disable-xen echo "config-host.mak contents:" echo "===" cat config-host.mak echo "===" make V=1 %{?_smp_mflags} $buildldflags cp -a x86_64-softmmu/qemu-system-x86_64 qemu-kvm make clean %endif ./configure \ --target-list="i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu \ mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu \ ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu \ i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user \ armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user \ mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user \ sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user \ sparc32plus-linux-user" \ --prefix=%{_prefix} \ --sysconfdir=%{_sysconfdir} \ --interp-prefix=%{_prefix}/qemu-%%M \ --audio-drv-list=pa,sdl,alsa,oss \ --disable-kvm \ --disable-strip \ --extra-ldflags=$extraldflags \ --extra-cflags="$RPM_OPT_FLAGS" \ --disable-xen echo "config-host.mak contents:" echo "===" cat config-host.mak echo "===" make V=1 %{?_smp_mflags} $buildldflags %install rm -rf $RPM_BUILD_ROOT install -D -p -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_initdir}/ksm install -D -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ksm install -D -p -m 0755 %{SOURCE6} $RPM_BUILD_ROOT%{_initdir}/ksmtuned install -D -p -m 0755 %{SOURCE7} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned install -D -p -m 0644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf %ifarch %{ix86} x86_64 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules mkdir -p $RPM_BUILD_ROOT%{_bindir}/ mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d mkdir -p $RPM_BUILD_ROOT%{qemudocdir} install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/kvm.modules install -m 0755 scripts/kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}/ install -m 0755 qemu-kvm $RPM_BUILD_ROOT%{_bindir}/ install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d %endif make DESTDIR=$RPM_BUILD_ROOT install chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man1/* install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_initdir}/qemu install -D -p -m 0644 -t ${RPM_BUILD_ROOT}%{qemudocdir} Changelog README COPYING COPYING.LIB LICENSE install -D -p -m 0644 qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl2/qemu.conf # comment out for Vine Linux, use orignal ROM image # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe*bin # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/vgabios*bin # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bios.bin # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-ppc # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc32 # rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc64 rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe-eepro100.rom rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/petalogix*.dtb rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-zipl.rom rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/s390-ccw.img rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bamboo.dtb rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/slof.bin rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/spapr-rtas.bin rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/palcode-clipper rm -rf ${RPM_BUILD_ROOT}%{_prefix}/lib/libcacard* rm -rf ${RPM_BUILD_ROOT}%{_prefix}/lib/pkgconfig/libcacard.pc rm -rf ${RPM_BUILD_ROOT}%{_includedir}/cacard rm -rf ${RPM_BUILD_ROOT}%{_includedir}/cacard # the pxe gpxe images will be symlinks to the images on # /usr/share/gpxe, as QEMU doesn't know how to look # for other paths, yet. pxe_link() { ln -s ../gpxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.bin } # comment out for Vine Linux, use orignal ROM image # pxe_link e1000 e1000-0x100e # pxe_link ne2k_pci rtl8029 # pxe_link pcnet pcnet32 # pxe_link rtl8139 rtl8139 # pxe_link virtio virtio-net # ln -s ../vgabios/VGABIOS-lgpl-latest.bin %{buildroot}/%{_datadir}/%{name}/vgabios.bin # ln -s ../vgabios/VGABIOS-lgpl-latest.cirrus.bin %{buildroot}/%{_datadir}/%{name}/vgabios-cirrus.bin # ln -s ../bochs/BIOS-bochs-kvm %{buildroot}/%{_datadir}/%{name}/bios.bin # ln -s ../openbios/openbios-ppc %{buildroot}/%{_datadir}/%{name}/openbios-ppc # ln -s ../openbios/openbios-sparc32 %{buildroot}/%{_datadir}/%{name}/openbios-sparc32 # ln -s ../openbios/openbios-sparc64 %{buildroot}/%{_datadir}/%{name}/openbios-sparc64 %clean rm -rf $RPM_BUILD_ROOT %post system-x86 %ifarch %{ix86} x86_64 # load kvm modules now, so we can make sure no reboot is needed. # If there's already a kvm module installed, we don't mess with it sh %{_sysconfdir}/sysconfig/modules/kvm.modules %endif %post common getent group kvm >/dev/null || groupadd -g 36 -r kvm getent group qemu >/dev/null || groupadd -g 107 -r qemu getent passwd qemu >/dev/null || \ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \ -c "qemu user" qemu /sbin/chkconfig --add ksm /sbin/chkconfig --add ksmtuned %preun common if [ $1 -eq 0 ]; then /sbin/service ksmtuned stop &>/dev/null || : /sbin/chkconfig --del ksmtuned /sbin/service ksm stop &>/dev/null || : /sbin/chkconfig --del ksm fi %postun common if [ $1 -ge 1 ]; then /sbin/service ksm condrestart &>/dev/null || : /sbin/service ksmtuned condrestart &>/dev/null || : fi %post user /sbin/chkconfig --add qemu %preun user if [ $1 -eq 0 ]; then /sbin/service qemu stop &>/dev/null || : /sbin/chkconfig --del qemu fi %postun user if [ $1 -ge 1 ]; then /sbin/service qemu condrestart &>/dev/null || : fi %files %defattr(-,root,root) %files kvm %defattr(-,root,root) %files common %defattr(-,root,root) %doc %{qemudocdir}/Changelog %doc %{qemudocdir}/README %doc %{qemudocdir}/qemu-doc.html %doc %{qemudocdir}/qemu-tech.html %doc %{qemudocdir}/qmp-commands.txt %doc %{qemudocdir}/COPYING %doc %{qemudocdir}/COPYING.LIB %doc %{qemudocdir}/LICENSE %dir %{_datadir}/%{name}/ %{_datadir}/%{name}/keymaps/ %{_datadir}/%{name}/trace-events %{_mandir}/man1/qemu.1* %{_mandir}/man1/virtfs-proxy-helper.1* %{_mandir}/man8/qemu-nbd.8* %{_bindir}/qemu-nbd %{_bindir}/virtfs-proxy-helper %{_libexecdir}/qemu-bridge-helper %config(noreplace) %{_sysconfdir}/sasl2/qemu.conf %{_initdir}/ksm %config(noreplace) %{_sysconfdir}/sysconfig/ksm %{_initdir}/ksmtuned %{_sbindir}/ksmtuned %config(noreplace) %{_sysconfdir}/ksmtuned.conf %files guest-agent %defattr(-,root,root,-) %doc COPYING README %{_bindir}/qemu-ga %{_mandir}/man8/qemu-ga.8.gz %files user %defattr(-,root,root) %{_initdir}/qemu %{_bindir}/qemu-alpha %{_bindir}/qemu-arm %{_bindir}/qemu-armeb %{_bindir}/qemu-cris %{_bindir}/qemu-i386 %{_bindir}/qemu-x86_64 %{_bindir}/qemu-m68k %{_bindir}/qemu-mips %{_bindir}/qemu-mipsel %{_bindir}/qemu-ppc %{_bindir}/qemu-ppc64 %{_bindir}/qemu-ppc64abi32 %{_bindir}/qemu-sh4 %{_bindir}/qemu-sh4eb %{_bindir}/qemu-sparc %{_bindir}/qemu-sparc64 %{_bindir}/qemu-sparc32plus %files system-x86 %defattr(-,root,root) %{_bindir}/qemu-system-i386 %{_bindir}/qemu-system-x86_64 %{_datadir}/%{name}/bios.bin %{_datadir}/%{name}/bios-256k.bin %{_datadir}/%{name}/sgabios.bin %{_datadir}/%{name}/linuxboot.bin %{_datadir}/%{name}/multiboot.bin %{_datadir}/%{name}/kvmvapic.bin %{_datadir}/%{name}/vgabios.bin %{_datadir}/%{name}/vgabios-cirrus.bin %{_datadir}/%{name}/vgabios-qxl.bin %{_datadir}/%{name}/vgabios-stdvga.bin %{_datadir}/%{name}/vgabios-vmware.bin %{_datadir}/%{name}/vgabios-virtio.bin %{_datadir}/%{name}/pxe-e1000.rom %{_datadir}/%{name}/pxe-virtio.rom %{_datadir}/%{name}/pxe-pcnet.rom %{_datadir}/%{name}/pxe-rtl8139.rom %{_datadir}/%{name}/pxe-ne2k_pci.rom %{_datadir}/%{name}/efi-e1000.rom %{_datadir}/%{name}/efi-eepro100.rom %{_datadir}/%{name}/efi-ne2k_pci.rom %{_datadir}/%{name}/efi-pcnet.rom %{_datadir}/%{name}/efi-rtl8139.rom %{_datadir}/%{name}/efi-virtio.rom %{_datadir}/%{name}/acpi-dsdt.aml %{_datadir}/%{name}/q35-acpi-dsdt.aml %{_datadir}/%{name}/qemu_logo_no_text.svg %{_datadir}/%{name}/qemu-icon.bmp %ifarch %{ix86} x86_64 %{_bindir}/qemu-kvm %{_sysconfdir}/sysconfig/modules/kvm.modules %{_sysconfdir}/udev/rules.d/80-kvm.rules %files kvm-tools %defattr(-,root,root,-) %{_bindir}/kvm_stat %endif %files system-sparc %defattr(-,root,root) %{_bindir}/qemu-system-sparc %{_datadir}/%{name}/openbios-sparc32 %{_datadir}/%{name}/openbios-sparc64 %{_datadir}/%{name}/QEMU,tcx.bin %{_datadir}/%{name}/QEMU,cgthree.bin %files system-arm %defattr(-,root,root) %{_bindir}/qemu-system-arm %files system-mips %defattr(-,root,root) %{_bindir}/qemu-system-mips %{_bindir}/qemu-system-mipsel %{_bindir}/qemu-system-mips64 %{_bindir}/qemu-system-mips64el %files system-ppc %defattr(-,root,root) %{_bindir}/qemu-system-ppc %{_bindir}/qemu-system-ppc64 %{_bindir}/qemu-system-ppcemb %{_datadir}/%{name}/openbios-ppc # %{_datadir}/%{name}/video.x # %{_datadir}/%{name}/bamboo.dtb %{_datadir}/%{name}/ppc_rom.bin %{_datadir}/%{name}/u-boot.e500 %files system-cris %defattr(-,root,root) %{_bindir}/qemu-system-cris %files system-m68k %defattr(-,root,root) %{_bindir}/qemu-system-m68k %files system-sh4 %defattr(-,root,root) %{_bindir}/qemu-system-sh4 %{_bindir}/qemu-system-sh4eb %files img %defattr(-,root,root) %{_bindir}/qemu-img %{_bindir}/qemu-io %{_mandir}/man1/qemu-img.1* %files ivshmem-tools %defattr(-,root,root) %{_bindir}/ivshmem-client %{_bindir}/ivshmem-server %changelog * Sun Jul 03 2016 Yoji TOYODA 2.5.1.1-2 - rebuild with gcc-5.4.0 * Tue May 10 2016 Yoji TOYODA 2.5.1.1-1 - new upstream release * Thu Mar 31 2016 Yoji TOYODA 2.5.1-1 - new upstream release - fix typo * Wed Dec 30 2015 Yoji TOYODA 2.5.0-3 - rebuild with gnutls-3.4.7 * Tue Dec 29 2015 Yoji TOYODA 2.5.0-2 - rebuild with nettle-3.1.1 * Sun Dec 20 2015 Yoji TOYODA 2.5.0-1 - new upstream release - create ivshmem-tools subpackage * Sun Nov 08 2015 Yoji TOYODA 2.4.1-1 - new upstream release - add Patch0 (qemu-2.4.1-build-fix-vine.patch) * Sat Jul 05 2014 Yoji TOYODA 1.7.1-1 - new upstream release * Sun Dec 08 2013 Yoji TOYODA 1.7.0-1 - new upstream release * Sun Nov 10 2013 Yoji TOYODA 1.6.1-1 - update to qemu-1.6.1 - remove all patches * Sun Nov 11 2012 Yoji TOYODA 1.2.0-1 - updated to qemu-kvm-1.2.0, based on Fedora 19 Package * Mon Nov 23 2009 NAKAMURA Kenta - 0.11.0-12 - updated to qemu-kvm-0.11.0, based on Fedora 12 Package - Use %%{_initdir} macro instead of %%{_initddir} - previous Vine changelogs as follows: - Sun Nov 08 2009 NAKAMURA Kenta 0.10.6-1 - added BuildRequires: alsa-lib-devel and gnutls-devel - updated Patch0, imported qemu-fix-debuginfo.patch from Fedora as Patch10 - updated Source1: qemu.init - dropped Obsolete Patch1, 4, 5 and 6 - Sun Feb 01 2009 Kazutaka HARADA 0.9.1-3 - rebuild with gnutls-2.6.3 - add patch6 from fedora development package - Sun Aug 24 2008 MATSUBAYASHI Kohji - 0.9.1-2 - spec in UTF-8 - import several patches and treats from Fedora 0.9.1-10 - Tue Apr 22 2008 Kazutaka HARADA 0.9.1-1 - apply new versioning policy. - don't discard messages in %%post & %%preun. - Wed Jan 09 2008 Kazutaka HARADA 0.9.1-0vl1 - new upstream release. - use ./configure script and specify options. (some options given by %%configure macro causes errors...) - add BuildRequires: texi2html. - add html documents and man pages in %%files. - Wed Mar 07 2007 Kazutaka HARADA 0.9.0-0vl1 - new upstream release. - drop Patch2. - Mon Nov 13 2006 Kazutaka HARADA 0.8.2-0vl2 - set max-user-freq of rtc in qemu.init. - Thu Aug 03 2006 Kazutaka HARADA 0.8.2-0vl1 - new upstream release. - drop *.html and man qemu*. texi2html and pod2man is required to create these documents because document creation is now optional. But texi2html and pod2man are not exist in current vine repository. - Sat Jun 17 2006 Kazutaka HARADA 0.8.1-0vl1 - new upstream release. - update description. - add japanese description. - update Patch1(qemu-0.7.0-build.patch) to Patch3(qemu-0.8.1-build.patch) - add %%{_datadir}/qemu/video.x in %%files section. - add man files installation script in %%install section. - change Group to Applications/Other. - Tue Sep 6 2005 Daisuke SUZUKI 0.7.2-0vl1 - new upstream release - Wed May 18 2005 Daisuke SUZUKI 0.7.0-0vl2 - fix kanjicode in specfile. - Fri May 06 2005 Daisuke SUZUKI 0.7.0-0vl1 - initial build for Vine Linux * Wed Nov 4 2009 Mark McLoughlin - 2:0.11.0-11 - Temporarily disable preadv/pwritev support to fix data corruption (#526549) * Tue Nov 3 2009 Justin M. Forbes - 2:0.11.0-10 - Default ksm and ksmtuned services on. * Thu Oct 29 2009 Mark McLoughlin - 2:0.11.0-9 - Fix dropped packets with non-virtio NICs (#531419) * Wed Oct 21 2009 Glauber Costa - 2:0.11.0-8 - Properly save kvm time registers (#524229) * Mon Oct 19 2009 Mark McLoughlin - 2:0.11.0-7 - Fix potential segfault from too small MSR_COUNT (#528901) * Fri Oct 9 2009 Mark McLoughlin - 2:0.11.0-6 - Fix fs errors with virtio and qcow2 backing file (#524734) - Fix ksm initscript errors on kernel missing ksm (#527653) - Add missing Requires(post): getent, useradd, groupadd (#527087) * Tue Oct 6 2009 Mark McLoughlin - 2:0.11.0-5 - Add 'retune' verb to ksmtuned init script * Mon Oct 5 2009 Mark McLoughlin - 2:0.11.0-4 - Use rtl8029 PXE rom for ne2k_pci, not ne (#526777) - Also, replace the gpxe-roms-qemu pkg requires with file-based requires * Thu Oct 1 2009 Justin M. Forbes - 2:0.11.0-3 - Improve error reporting on file access (#524695) * Mon Sep 28 2009 Mark McLoughlin - 2:0.11.0-2 - Fix pci hotplug to not exit if supplied an invalid NIC model (#524022) * Mon Sep 28 2009 Mark McLoughlin - 2:0.11.0-1 - Update to 0.11.0 release - Drop a couple of upstreamed patches * Wed Sep 23 2009 Mark McLoughlin - 2:0.10.92-5 - Fix issue causing NIC hotplug confusion when no model is specified (#524022) * Wed Sep 16 2009 Mark McLoughlin - 2:0.10.92-4 - Fix for KSM patch from Justin Forbes * Wed Sep 16 2009 Mark McLoughlin - 2:0.10.92-3 - Add ksmtuned, also from Dan Kenigsberg - Use %_initddir macro * Wed Sep 16 2009 Mark McLoughlin - 2:0.10.92-2 - Add ksm control script from Dan Kenigsberg * Mon Sep 7 2009 Mark McLoughlin - 2:0.10.92-1 - Update to qemu-kvm-0.11.0-rc2 - Drop upstreamed patches - extboot install now fixed upstream - Re-place TCG init fix (#516543) with the one gone upstream * Mon Sep 7 2009 Mark McLoughlin - 2:0.10.91-0.10.rc1 - Fix MSI-X error handling on older kernels (#519787) * Fri Sep 4 2009 Mark McLoughlin - 2:0.10.91-0.9.rc1 - Make pulseaudio the default audio backend (#519540, #495964, #496627) * Thu Aug 20 2009 Richard W.M. Jones - 2:0.10.91-0.8.rc1 - Fix segfault when qemu-kvm is invoked inside a VM (#516543) * Tue Aug 18 2009 Mark McLoughlin - 2:0.10.91-0.7.rc1 - Fix permissions on udev rules (#517571) * Mon Aug 17 2009 Lubomir Rintel - 2:0.10.91-0.6.rc1 - Allow blacklisting of kvm modules (#517866) * Fri Aug 7 2009 Mark McLoughlin - 2:0.10.91-0.5.rc1 - Fix virtio_net with -net user (#516022) * Tue Aug 4 2009 Mark McLoughlin - 2:0.10.91-0.4.rc1 - Update to qemu-kvm-0.11-rc1; no changes from rc1-rc0 * Tue Aug 4 2009 Mark McLoughlin - 2:0.10.91-0.3.rc1.rc0 - Fix extboot checksum (bug #514899) * Fri Jul 31 2009 Mark McLoughlin - 2:0.10.91-0.2.rc1.rc0 - Add KSM support - Require bochs-bios >= 2.3.8-0.8 for latest kvm bios updates * Thu Jul 30 2009 Mark McLoughlin - 2:0.10.91-0.1.rc1.rc0 - Update to qemu-kvm-0.11.0-rc1-rc0 - This is a pre-release of the official -rc1 - A vista installer regression is blocking the official -rc1 release - Drop qemu-prefer-sysfs-for-usb-host-devices.patch - Drop qemu-fix-build-for-esd-audio.patch - Drop qemu-slirp-Fix-guestfwd-for-incoming-data.patch - Add patch to ensure extboot.bin is installed * Sun Jul 26 2009 Fedora Release Engineering - 2:0.10.50-14.kvm88 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jul 23 2009 Glauber Costa - 2:0.10.50-13.kvm88 - Fix bug 513249, -net channel option is broken * Thu Jul 16 2009 Daniel P. Berrange - 2:0.10.50-12.kvm88 - Add 'qemu' user and group accounts - Force disable xen until it can be made to build * Thu Jul 16 2009 Mark McLoughlin - 2:0.10.50-11.kvm88 - Update to kvm-88, see http://www.linux-kvm.org/page/ChangeLog - Package mutiboot.bin - Update for how extboot is built - Fix sf.net source URL - Drop qemu-fix-ppc-softmmu-kvm-disabled-build.patch - Drop qemu-fix-pcspk-build-with-kvm-disabled.patch - Cherry-pick fix for esound support build failure * Wed Jul 15 2009 Daniel Berrange - 2:0.10.50-10.kvm87 - Add udev rules to make /dev/kvm world accessible & group=kvm (rhbz #497341) - Create a kvm group if it doesn't exist (rhbz #346151) * Tue Jul 07 2009 Glauber Costa - 2:0.10.50-9.kvm87 - use pxe roms from gpxe, instead of etherboot package. * Fri Jul 3 2009 Mark McLoughlin - 2:0.10.50-8.kvm87 - Prefer sysfs over usbfs for usb passthrough (#508326) * Sat Jun 27 2009 Mark McLoughlin - 2:0.10.50-7.kvm87 - Update to kvm-87 - Drop upstreamed patches - Cherry-pick new ppc build fix from upstream - Work around broken linux-user build on ppc - Fix hw/pcspk.c build with --disable-kvm - Re-enable preadv()/pwritev() since #497429 is long since fixed - Kill petalogix-s3adsp1800.dtb, since we don't ship the microblaze target * Fri Jun 5 2009 Mark McLoughlin - 2:0.10.50-6.kvm86 - Fix 'kernel requires an x86-64 CPU' error - BuildRequires ncurses-devel to enable '-curses' option (#504226) * Wed Jun 3 2009 Mark McLoughlin - 2:0.10.50-5.kvm86 - Prevent locked cdrom eject - fixes hang at end of anaconda installs (#501412) - Avoid harmless 'unhandled wrmsr' warnings (#499712) * Thu May 21 2009 Mark McLoughlin - 2:0.10.50-4.kvm86 - Update to kvm-86 release - ChangeLog here: http://marc.info/?l=kvm&m=124282885729710 * Fri May 1 2009 Mark McLoughlin - 2:0.10.50-3.kvm85 - Really provide qemu-kvm as a metapackage for comps * Tue Apr 28 2009 Mark McLoughlin - 2:0.10.50-2.kvm85 - Provide qemu-kvm as a metapackage for comps * Mon Apr 27 2009 Mark McLoughlin - 2:0.10.50-1.kvm85 - Update to qemu-kvm-devel-85 - kvm-85 is based on qemu development branch, currently version 0.10.50 - Include new qemu-io utility in qemu-img package - Re-instate -help string for boot=on to fix virtio booting with libvirt - Drop upstreamed patches - Fix missing kernel/include/asm symlink in upstream tarball - Fix target-arm build - Fix build on ppc - Disable preadv()/pwritev() until bug #497429 is fixed - Kill more .kernelrelease uselessness - Make non-kvm qemu build verbose * Fri Apr 24 2009 Mark McLoughlin - 2:0.10-15 - Fix source numbering typos caused by make-release addition * Thu Apr 23 2009 Mark McLoughlin - 2:0.10-14 - Improve instructions for generating the tarball * Tue Apr 21 2009 Mark McLoughlin - 2:0.10-13 - Enable pulseaudio driver to fix qemu lockup at shutdown (#495964) * Tue Apr 21 2009 Mark McLoughlin - 2:0.10-12 - Another qcow2 image corruption fix (#496642) * Mon Apr 20 2009 Mark McLoughlin - 2:0.10-11 - Fix qcow2 image corruption (#496642) * Sun Apr 19 2009 Mark McLoughlin - 2:0.10-10 - Run sysconfig.modules from %post on x86_64 too (#494739) * Sun Apr 19 2009 Mark McLoughlin - 2:0.10-9 - Align VGA ROM to 4k boundary - fixes 'qemu-kvm -std vga' (#494376) * Tue Apr 14 2009 Glauber Costa - 2:0.10-8 - Provide qemu-kvm conditional on the architecture. * Thu Apr 9 2009 Mark McLoughlin - 2:0.10-7 - Add a much cleaner fix for vga segfault (#494002) * Sun Apr 5 2009 Glauber Costa - 2:0.10-6 - Fixed qcow2 segfault creating disks over 2TB. #491943 * Fri Apr 3 2009 Mark McLoughlin - 2:0.10-5 - Fix vga segfault under kvm-autotest (#494002) - Kill kernelrelease hack; it's not needed - Build with "make V=1" for more verbose logs * Thu Apr 02 2009 Glauber Costa - 2:0.10-4 - Support botting gpxe roms. * Wed Apr 01 2009 Glauber Costa - 2:0.10-2 - added missing patch. love for CVS. * Wed Apr 01 2009 Glauber Costa - 2:0.10-1 - Include debuginfo for qemu-img - Do not require qemu-common for qemu-img - Explicitly own each of the firmware files - remove firmwares for ppc and sparc. They should be provided by an external package. Not that the packages exists for sparc in the secondary arch repo as noarch, but they don't automatically get into main repos. Unfortunately it's the best we can do right now. - rollback a bit in time. Snapshot from avi's maint/2.6.30 - this requires the sasl patches to come back. - with-patched-kernel comes back. * Wed Mar 25 2009 Mark McLoughlin - 2:0.10-0.12.kvm20090323git - BuildRequires pciutils-devel for device assignment (#492076) * Mon Mar 23 2009 Glauber Costa - 2:0.10-0.11.kvm20090323git - Update to snapshot kvm20090323. - Removed patch2 (upstream). - use upstream's new split package. - --with-patched-kernel flag not needed anymore - Tell how to get the sources. * Wed Mar 18 2009 Glauber Costa - 2:0.10-0.10.kvm20090310git - Added extboot to files list. * Wed Mar 11 2009 Glauber Costa - 2:0.10-0.9.kvm20090310git - Fix wrong reference to bochs bios. * Wed Mar 11 2009 Glauber Costa - 2:0.10-0.8.kvm20090310git - fix Obsolete/Provides pair - Use kvm bios from bochs-bios package. - Using RPM_OPT_FLAGS in configure - Picked back audio-drv-list from kvm package * Tue Mar 10 2009 Glauber Costa - 2:0.10-0.7.kvm20090310git - modify ppc patch * Tue Mar 10 2009 Glauber Costa - 2:0.10-0.6.kvm20090310git - updated to kvm20090310git - removed sasl patches (already in this release) * Tue Mar 10 2009 Glauber Costa - 2:0.10-0.5.kvm20090303git - kvm.modules were being wrongly mentioned at %%install. - update description for the x86 system package to include kvm support - build kvm's own bios. It is still necessary while kvm uses a slightly different irq routing mechanism * Thu Mar 05 2009 Glauber Costa - 2:0.10-0.4.kvm20090303git - seems Epoch does not go into the tags. So start back here. * Thu Mar 05 2009 Glauber Costa - 2:0.10-0.1.kvm20090303git - Use bochs-bios instead of bochs-bios-data - It's official: upstream set on 0.10 * Thu Mar 5 2009 Daniel P. Berrange - 2:0.9.2-0.2.kvm20090303git - Added BSD to license list, since many files are covered by BSD * Wed Mar 04 2009 Glauber Costa - 0.9.2-0.1.kvm20090303git - missing a dot. shame on me * Wed Mar 04 2009 Glauber Costa - 0.92-0.1.kvm20090303git - Set Epoch to 2 - Set version to 0.92. It seems upstream keep changing minds here, so pick the lowest - Provides KVM, Obsoletes KVM - Only install qemu-kvm in ix86 and x86_64 - Remove pkgdesc macros, as they were generating bogus output for rpm -qi. - fix ppc and ppc64 builds * Tue Mar 03 2009 Glauber Costa - 0.10-0.3.kvm20090303git - only execute post scripts for user package. - added kvm tools. * Tue Mar 03 2009 Glauber Costa - 0.10-0.2.kvm20090303git - put kvm.modules into cvs * Tue Mar 03 2009 Glauber Costa - 0.10-0.1.kvm20090303git - Set Epoch to 1 - Build KVM (basic build, no tools yet) - Set ppc in ExcludeArch. This is temporary, just to fix one issue at a time. ppc users (IBM ? ;-)) please wait a little bit. * Tue Mar 3 2009 Daniel P. Berrange - 1.0-0.5.svn6666 - Support VNC SASL authentication protocol - Fix dep on bochs-bios-data * Tue Mar 03 2009 Glauber Costa - 1.0-0.4.svn6666 - use bios from bochs-bios package. * Tue Mar 03 2009 Glauber Costa - 1.0-0.3.svn6666 - use vgabios from vgabios package. * Mon Mar 02 2009 Glauber Costa - 1.0-0.2.svn6666 - use pxe roms from etherboot package. * Mon Mar 02 2009 Glauber Costa - 1.0-0.1.svn6666 - Updated to tip svn (release 6666). Featuring split packages for qemu. Unfortunately, still using binary blobs for the bioses. * Wed Feb 25 2009 Fedora Release Engineering - 0.9.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Jan 11 2009 Debarshi Ray - 0.9.1-12 - Updated build patch. Closes Red Hat Bugzilla bug #465041. * Wed Dec 31 2008 Dennis Gilmore - 0.9.1-11 - add sparcv9 and sparc64 support * Fri Jul 25 2008 Bill Nottingham - Fix qemu-img summary (#456344) * Wed Jun 25 2008 Daniel P. Berrange - 0.9.1-10.fc10 - Rebuild for GNU TLS ABI change * Wed Jun 11 2008 Daniel P. Berrange - 0.9.1-9.fc10 - Remove bogus wildcard from files list (rhbz #450701) * Sat May 17 2008 Lubomir Rintel - 0.9.1-8 - Register binary handlers also for shared libraries * Mon May 5 2008 Daniel P. Berrange - 0.9.1-7.fc10 - Fix text console PTYs to be in rawmode * Sun Apr 27 2008 Lubomir Kundrak - 0.9.1-6 - Register binary handler for SuperH-4 CPU * Wed Mar 19 2008 Daniel P. Berrange - 0.9.1-5.fc9 - Split qemu-img tool into sub-package for smaller footprint installs * Wed Feb 27 2008 Daniel P. Berrange - 0.9.1-4.fc9 - Fix block device checks for extendable disk formats (rhbz #435139) * Sat Feb 23 2008 Daniel P. Berrange - 0.9.1-3.fc9 - Fix block device extents check (rhbz #433560) * Mon Feb 18 2008 Fedora Release Engineering - 0.9.1-2 - Autorebuild for GCC 4.3 * Tue Jan 8 2008 Daniel P. Berrange - 0.9.1-1.fc9 - Updated to 0.9.1 release - Fix license tag syntax - Don't mark init script as a config file * Wed Sep 26 2007 Daniel P. Berrange - 0.9.0-5.fc8 - Fix rtl8139 checksum calculation for Vista (rhbz #308201) * Tue Aug 28 2007 Daniel P. Berrange - 0.9.0-4.fc8 - Fix debuginfo by passing -Wl,--build-id to linker * Tue Aug 28 2007 David Woodhouse 0.9.0-4 - Update licence - Fix CDROM emulation (#253542) * Tue Aug 28 2007 Daniel P. Berrange - 0.9.0-3.fc8 - Added backport of VNC password auth, and TLS+x509 cert auth - Switch to rtl8139 NIC by default for linkstate reporting - Fix rtl8139 mmio region mappings with multiple NICs * Sun Apr 1 2007 Hans de Goede 0.9.0-2 - Fix direct loading of a linux kernel with -kernel & -initrd (bz 234681) - Remove spurious execute bits from manpages (bz 222573) * Tue Feb 6 2007 David Woodhouse 0.9.0-1 - Update to 0.9.0 * Wed Jan 31 2007 David Woodhouse 0.8.2-5 - Include licences * Mon Nov 13 2006 Hans de Goede 0.8.2-4 - Backport patch to make FC6 guests work by Kevin Kofler (bz 207843). * Mon Sep 11 2006 David Woodhouse 0.8.2-3 - Rebuild * Thu Aug 24 2006 Matthias Saou 0.8.2-2 - Remove the target-list iteration for x86_64 since they all build again. - Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for FC5 and FC6. * Wed Aug 23 2006 Matthias Saou 0.8.2-1 - Update to 0.8.2 (#200065). - Drop upstreamed syscall-macros patch2. - Put correct scriplet dependencies. - Force install mode for the init script to avoid umask problems. - Add %%postun condrestart for changes to the init script to be applied if any. - Update description with the latest "about" from the web page (more current). - Update URL to qemu.org one like the Source. - Add which build requirement. - Don't include texi files in %%doc since we ship them in html. - Switch to using gcc34 on devel, FC5 still has gcc32. - Add kernheaders patch to fix linux/compiler.h inclusion. - Add target-sparc patch to fix compiling on ppc (some int32 to float). * Thu Jun 8 2006 David Woodhouse 0.8.1-3 - More header abuse in modify_ldt(), change BuildRoot: * Wed Jun 7 2006 David Woodhouse 0.8.1-2 - Fix up kernel header abuse * Tue May 30 2006 David Woodhouse 0.8.1-1 - Update to 0.8.1 * Sat Mar 18 2006 David Woodhouse 0.8.0-6 - Update linker script for PPC * Sat Mar 18 2006 David Woodhouse 0.8.0-5 - Just drop $RPM_OPT_FLAGS. They're too much of a PITA * Sat Mar 18 2006 David Woodhouse 0.8.0-4 - Disable stack-protector options which gcc 3.2 doesn't like * Fri Mar 17 2006 David Woodhouse 0.8.0-3 - Use -mcpu= instead of -mtune= on x86_64 too - Disable SPARC targets on x86_64, because dyngen doesn't like fnegs * Fri Mar 17 2006 David Woodhouse 0.8.0-2 - Don't use -mtune=pentium4 on i386. GCC 3.2 doesn't like it * Fri Mar 17 2006 David Woodhouse 0.8.0-1 - Update to 0.8.0 - Resort to using compat-gcc-32 - Enable ALSA * Mon May 16 2005 David Woodhouse 0.7.0-2 - Proper fix for GCC 4 putting 'blr' or 'ret' in the middle of the function, for i386, x86_64 and PPC. * Sat Apr 30 2005 David Woodhouse 0.7.0-1 - Update to 0.7.0 - Fix dyngen for PPC functions which end in unconditional branch * Thu Apr 7 2005 Michael Schwendt - rebuilt * Sun Feb 13 2005 David Woodhouse 0.6.1-2 - Package cleanup * Sun Nov 21 2004 David Woodhouse 0.6.1-1 - Update to 0.6.1 * Tue Jul 20 2004 David Woodhouse 0.6.0-2 - Compile fix from qemu CVS, add x86_64 host support * Wed May 12 2004 David Woodhouse 0.6.0-1 - Update to 0.6.0. * Sat May 8 2004 David Woodhouse 0.5.5-1 - Update to 0.5.5. * Sun May 2 2004 David Woodhouse 0.5.4-1 - Update to 0.5.4. * Thu Apr 22 2004 David Woodhouse 0.5.3-1 - Update to 0.5.3. Add init script. * Thu Jul 17 2003 Jeff Johnson 0.4.3-1 - Create.