5c37348
Summary: QEMU is a FAST! processor emulator
5c37348
Name: qemu
904b1d4
Version: 0.11.0
9780331
Release: 12%{?dist}
92dcc13
# Epoch because we pushed a qemu-1.0 package
Glauber Costa 9235f99
Epoch: 2
913ab98
License: GPLv2+ and LGPLv2+ and BSD
5c37348
Group: Development/Tools
67348d7
URL: http://www.qemu.org/
Glauber Costa 9e9690b
904b1d4
Source0: http://downloads.sourceforge.net/sourceforge/kvm/qemu-kvm-%{version}.tar.gz
92dcc13
Source1: qemu.init
b112209
b112209
# Loads kvm kernel modules at boot
92dcc13
Source2: kvm.modules
b112209
b112209
# Creates /dev/kvm
fc8b74d
Source3: 80-kvm.rules
92dcc13
cd8d5cb
# KSM control scripts
b112209
Source4: ksm.init
b112209
Source5: ksm.sysconfig
cd8d5cb
Source6: ksmtuned.init
cd8d5cb
Source7: ksmtuned
cd8d5cb
Source8: ksmtuned.conf
b112209
92dcc13
# Not upstream, why?
bc0345f
Patch01: qemu-bios-bigger-roms.patch
bc0345f
98d891d
# Works around broken linux-user build on ppc
a8abd8e
Patch02: qemu-fix-linux-user-build-on-ppc.patch
d298fd0
6780ef8
# Allow the pulseudio backend to be the default
6780ef8
Patch03: qemu-allow-pulseaudio-to-be-the-default.patch
Glauber Costa 5e6fc53
fc7c34c
# Add KSM support - see https://fedoraproject.org/wiki/Features/KSM
fc7c34c
Patch04: qemu-add-ksm-support.patch
fc7c34c
1c9931d
# Fix issue causing NIC hotplug confusion when no model is specified (#524022)
904b1d4
Patch05: qemu-correctly-free-nic-info-structure.patch
1c9931d
48e123e
# Do not exit during PCI hotplug when an invalid NIC model is passed (#524022)
48e123e
Patch06: qemu-do-not-exit-on-pci-hotplug-invalid-nic1.patch
9019b06
Patch07: qemu-do-not-exit-on-pci-hotplug-invalid-nic2.patch
48e123e
c63c2b3
# Improve error reporting on file access
c63c2b3
Patch08: qemu-improve-error-reporting-on-file-access.patch
c63c2b3
ed1eefd
# Fix fs errors with virtio and qcow2 backing file (#524734)
ed1eefd
Patch09: qemu-fix-qcow2-backing-file-with-virtio.patch
ed1eefd
98f6658
# Fix potential segfault from too small MSR_COUNT (#528901)
98f6658
Patch10: qemu-fix-msr-count-potential-segfault.patch
98f6658
Glauber Costa 690ee5d
# Properly save kvm time registers (#524229)
Glauber Costa 690ee5d
Patch11: qemu-properly-save-kvm-system-time-registers.patch
Glauber Costa 690ee5d
7ec637d
# Fix dropped packets with non-virtio NICs (#531419)
7ec637d
Patch12: qemu-fix-dropped-packets-with-non-virtio-nics.patch
7ec637d
fe09646
# Temporarily disable preadv/pwritev support (#526549)
fe09646
Patch13: qemu-disable-preadv-support.patch
fe09646
9780331
# Fix a use-after-free crasher in the slirp code (#539583)
9780331
Patch14: qemu-slirp-use-after-free.patch
9780331
9780331
# Fix overflow in the parallels image format support (#533573)
9780331
Patch15: qemu-parallels-image-format-overflow.patch
9780331
f8cb040
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
31a0831
BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel
Glauber Costa 4da298f
BuildRequires: rsync dev86 iasl
9a6ed39
BuildRequires: pciutils-devel
6d887bd
BuildRequires: pulseaudio-libs-devel
62fb375
BuildRequires: ncurses-devel
Glauber Costa 9235f99
Requires: %{name}-user = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-x86 = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-sparc = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-arm = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-cris = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-sh4 = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-m68k = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-mips = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-system-ppc = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
Requires: %{name}-img = %{epoch}:%{version}-%{release}
Glauber Costa 8571d06
Glauber Costa 485711f
%define qemudocdir %{_docdir}/%{name}-%{version}
Glauber Costa 485711f
5c37348
%description
67348d7
QEMU is a generic and open source processor emulator which achieves a good
67348d7
emulation speed by using dynamic translation. QEMU has two operating modes:
5c37348
67348d7
 * Full system emulation. In this mode, QEMU emulates a full system (for
67348d7
   example a PC), including a processor and various peripherials. It can be
67348d7
   used to launch different Operating Systems without rebooting the PC or
67348d7
   to debug system code.
5c37348
 * User mode emulation. In this mode, QEMU can launch Linux processes compiled
67348d7
   for one CPU on another CPU.
5c37348
67348d7
As QEMU requires no host kernel patches to run, it is safe and easy to use.
5c37348
d7d988b
%package kvm
d7d988b
Summary: QEMU metapackage for KVM support
d7d988b
Group: Development/Tools
d7d988b
%ifarch %{ix86} x86_64
d7d988b
Requires: qemu-system-x86 = %{epoch}:%{version}-%{release}
d7d988b
%endif
d7d988b
%ifarch ppc ppc64
d7d988b
Requires: qemu-system-ppc = %{epoch}:%{version}-%{release}
d7d988b
%endif
d7d988b
d7d988b
%description kvm
d7d988b
This is a meta-package that provides a qemu-system-<arch> package for native
d7d988b
architectures where kvm can be enabled. For example, in an x86 system, this
d7d988b
will install qemu-system-x86
d7d988b
Glauber Costa 9235f99
%package  img
Glauber Costa 9235f99
Summary: QEMU command line tool for manipulating disk images
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
%description img
033dcb4
This package provides a command line tool for manipulating disk images
36ffedc
Glauber Costa 9235f99
%package  common
Glauber Costa 9235f99
Summary: QEMU common files needed by all QEMU targets
Glauber Costa 9235f99
Group: Development/Tools
ed1eefd
Requires(post): /usr/bin/getent
ed1eefd
Requires(post): /usr/sbin/groupadd
ed1eefd
Requires(post): /usr/sbin/useradd
cd8d5cb
Requires(post): /sbin/chkconfig
cd8d5cb
Requires(preun): /sbin/service /sbin/chkconfig
cd8d5cb
Requires(postun): /sbin/service
Glauber Costa 9235f99
%description common
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the common files needed by all QEMU targets
Glauber Costa 485711f
Glauber Costa 9235f99
%package user
Glauber Costa 9235f99
Summary: QEMU user mode emulation of qemu targets
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 485711f
Requires(post): /sbin/chkconfig
Glauber Costa 485711f
Requires(preun): /sbin/service /sbin/chkconfig
Glauber Costa 485711f
Requires(postun): /sbin/service
Glauber Costa 9235f99
%description user
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 485711f
Glauber Costa 9235f99
This package provides the user mode emulation of qemu targets
Glauber Costa 9235f99
Glauber Costa 9235f99
%package system-x86
Glauber Costa 9235f99
Summary: QEMU system emulator for x86
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 0c2ec92
Provides: kvm = 85
Glauber Costa 9235f99
Obsoletes: kvm < 85
252dbd0
Requires: vgabios
252dbd0
Requires: bochs-bios >= 2.3.8-0.8
252dbd0
Requires: /usr/share/gpxe/e1000-0x100e.rom
252dbd0
Requires: /usr/share/gpxe/rtl8029.rom
252dbd0
Requires: /usr/share/gpxe/pcnet32.rom
252dbd0
Requires: /usr/share/gpxe/rtl8139.rom
252dbd0
Requires: /usr/share/gpxe/virtio-net.rom
Glauber Costa 9235f99
Glauber Costa 9235f99
%description system-x86
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 4da298f
This package provides the system emulator for x86. When being run in a x86
Glauber Costa 4da298f
machine that supports it, this package also provides the KVM virtualization
Glauber Costa 4da298f
platform.
Glauber Costa 9235f99
Glauber Costa 9235f99
%package system-ppc
Glauber Costa 9235f99
Summary: QEMU system emulator for ppc
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 47b0758
Requires: openbios-ppc
Glauber Costa 9235f99
%description system-ppc
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for ppc
Glauber Costa 9235f99
Glauber Costa 9235f99
%package system-sparc
Glauber Costa 9235f99
Summary: QEMU system emulator for sparc
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
%description system-sparc
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for sparc
Glauber Costa 9235f99
Glauber Costa 9235f99
%package system-arm
Glauber Costa 9235f99
Summary: QEMU system emulator for arm
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
%description system-arm
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for arm
Glauber Costa 9235f99
Glauber Costa 9235f99
%package system-mips
Glauber Costa 9235f99
Summary: QEMU system emulator for mips
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
%description system-mips
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for mips
Glauber Costa 485711f
Glauber Costa 9235f99
%package system-cris
Glauber Costa 9235f99
Summary: QEMU system emulator for cris
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
%description system-cris
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for cris
Glauber Costa 9235f99
Glauber Costa 9235f99
%package system-m68k
Glauber Costa 9235f99
Summary: QEMU system emulator for m68k
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
%description system-m68k
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for m68k
36ffedc
Glauber Costa 9235f99
%package system-sh4
Glauber Costa 9235f99
Summary: QEMU system emulator for sh4
Glauber Costa 9235f99
Group: Development/Tools
Glauber Costa 9235f99
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f99
%description system-sh4
Glauber Costa c9c3df6
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f99
emulation speed by using dynamic translation.
Glauber Costa 9235f99
Glauber Costa 9235f99
This package provides the system emulator for sh4
36ffedc
Glauber Costa 0f3f164
%ifarch %{ix86} x86_64
Glauber Costa 0f3f164
%package kvm-tools
Glauber Costa 0f3f164
Summary: KVM debugging and diagnostics tools
Glauber Costa 0f3f164
Group: Development/Tools
Glauber Costa 0f3f164
Glauber Costa 0f3f164
%description kvm-tools
Glauber Costa 0f3f164
This package contains some diagnostics and debugging tools for KVM,
Glauber Costa 0f3f164
such as kvmtrace and kvm_stat.
Glauber Costa 0f3f164
%endif
Glauber Costa 0f3f164
5c37348
%prep
5d43a86
%setup -q -n qemu-kvm-%{version}
92dcc13
bc0345f
%patch01 -p1
bc0345f
%patch02 -p1
98d891d
%patch03 -p1
fc7c34c
%patch04 -p1
f4d6ad7
%patch05 -p1
48e123e
%patch06 -p1
48e123e
%patch07 -p1
c63c2b3
%patch08 -p1
ed1eefd
%patch09 -p1
98f6658
%patch10 -p1
Glauber Costa 690ee5d
%patch11 -p1
7ec637d
%patch12 -p1
fe09646
%patch13 -p1
9780331
%patch14 -p1
9780331
%patch15 -p1
5c37348
5c37348
%build
db5d58f
# --build-id option is used fedora 8 onwards for giving info to the debug packages.
db5d58f
extraldflags="-Wl,--build-id";
db5d58f
buildldflags="VL_LDFLAGS=-Wl,--build-id"
Glauber Costa 485711f
Glauber Costa 8571d06
%ifarch %{ix86} x86_64
6d887bd
# sdl outputs to alsa or pulseaudio depending on system config, but it's broken (#495964)
Glauber Costa 0c2ec92
# alsa works, but causes huge CPU load due to bugs
Glauber Costa 0c2ec92
# oss works, but is very problematic because it grabs exclusive control of the device causing other apps to go haywire
Glauber Costa 9e9690b
./configure --target-list=x86_64-softmmu \
ccf76b7
            --prefix=%{_prefix} \
6d887bd
            --audio-drv-list=pa,sdl,alsa,oss \
Glauber Costa 47b0758
            --disable-strip \
ccf76b7
            --extra-ldflags=$extraldflags \
308a9a0
            --extra-cflags="$RPM_OPT_FLAGS" \
308a9a0
            --disable-xen
Glauber Costa 8571d06
f2bd6c6
echo "config-host.mak contents:"
f2bd6c6
echo "==="
f2bd6c6
cat config-host.mak
f2bd6c6
echo "==="
f2bd6c6
910c5e3
make V=1 %{?_smp_mflags} $buildldflags
ccf76b7
cp -a x86_64-softmmu/qemu-system-x86_64 qemu-kvm
Glauber Costa 8571d06
make clean
ccf76b7
ccf76b7
cd kvm/user
ccf76b7
./configure --prefix=%{_prefix} --kerneldir=$(pwd)/../kernel/
ccf76b7
make kvmtrace
ccf76b7
cd ../../
Glauber Costa 8571d06
%endif
Glauber Costa 8571d06
e6d232d
./configure \
Glauber Costa 8571d06
    --target-list="i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu \
Glauber Costa 8571d06
                mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu \
Glauber Costa 8571d06
                ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu \
Glauber Costa 8571d06
                i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user \
Glauber Costa 8571d06
                armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user \
Glauber Costa 8571d06
                mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user \
Glauber Costa 8571d06
                sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user \
Glauber Costa 8571d06
                sparc32plus-linux-user" \
e6d232d
    --prefix=%{_prefix} \
e6d232d
    --interp-prefix=%{_prefix}/qemu-%%M \
ccf76b7
    --audio-drv-list=pa,sdl,alsa,oss \
Glauber Costa 8571d06
    --disable-kvm \
ccf76b7
    --disable-strip \
Glauber Costa 0c2ec92
    --extra-ldflags=$extraldflags \
308a9a0
    --extra-cflags="$RPM_OPT_FLAGS" \
308a9a0
    --disable-xen
Glauber Costa 0c2ec92
f2bd6c6
echo "config-host.mak contents:"
f2bd6c6
echo "==="
f2bd6c6
cat config-host.mak
f2bd6c6
echo "==="
f2bd6c6
92dcc13
make V=1 %{?_smp_mflags} $buildldflags
5c37348
5c37348
%install
5c37348
rm -rf $RPM_BUILD_ROOT
5c37348
cd8d5cb
install -D -p -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_initddir}/ksm
b112209
install -D -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ksm
b112209
a8b17ae
install -D -p -m 0755 %{SOURCE6} $RPM_BUILD_ROOT%{_initddir}/ksmtuned
cd8d5cb
install -D -p -m 0755 %{SOURCE7} $RPM_BUILD_ROOT%{_sbindir}/ksmtuned
cd8d5cb
install -D -p -m 0644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/ksmtuned.conf
cd8d5cb
Glauber Costa 9235f99
%ifarch %{ix86} x86_64
fc8b74d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
Glauber Costa 9235f99
mkdir -p $RPM_BUILD_ROOT%{_bindir}/
ccf76b7
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
fc8b74d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
Glauber Costa 9235f99
fc8b74d
install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/kvm.modules
ccf76b7
install -m 0755 kvm/user/kvmtrace $RPM_BUILD_ROOT%{_bindir}/
ccf76b7
install -m 0755 kvm/user/kvmtrace_format $RPM_BUILD_ROOT%{_bindir}/
ccf76b7
install -m 0755 kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}/
Glauber Costa 4da298f
install -m 0755 qemu-kvm $RPM_BUILD_ROOT%{_bindir}/
6db7331
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
Glauber Costa 9235f99
%endif
Glauber Costa 9235f99
5c37348
make prefix="${RPM_BUILD_ROOT}%{_prefix}" \
67348d7
     bindir="${RPM_BUILD_ROOT}%{_bindir}" \
ccf76b7
     sharedir="${RPM_BUILD_ROOT}%{_datadir}/%{name}" \
67348d7
     mandir="${RPM_BUILD_ROOT}%{_mandir}" \
67348d7
     docdir="${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}" \
ccf76b7
     datadir="${RPM_BUILD_ROOT}%{_datadir}/%{name}" install
666df9e
chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man1/*
cd8d5cb
install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_initddir}/qemu
fc8b74d
install -D -p -m 0644 -t ${RPM_BUILD_ROOT}%{qemudocdir} Changelog README TODO COPYING COPYING.LIB LICENSE
5c37348
42af212
install -D -p -m 0644 qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl2/qemu.conf
42af212
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe*bin
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/vgabios*bin
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bios.bin
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-ppc
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc32
ccf76b7
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc64
bd50c41
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/petalogix-s3adsp1800.dtb
Glauber Costa f0365cc
Glauber Costa 247782d
# the pxe gpxe images will be symlinks to the images on
Glauber Costa 247782d
# /usr/share/gpxe, as QEMU doesn't know how to look
Glauber Costa f0365cc
# for other paths, yet.
Glauber Costa f0365cc
pxe_link() {
Glauber Costa 247782d
  ln -s ../gpxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.bin
Glauber Costa f0365cc
}
Glauber Costa f0365cc
Glauber Costa 247782d
pxe_link e1000 e1000-0x100e
252dbd0
pxe_link ne2k_pci rtl8029
Glauber Costa f0365cc
pxe_link pcnet pcnet32
Glauber Costa f0365cc
pxe_link rtl8139 rtl8139
Glauber Costa f0365cc
pxe_link virtio virtio-net
ccf76b7
ln -s ../vgabios/VGABIOS-lgpl-latest.bin  %{buildroot}/%{_datadir}/%{name}/vgabios.bin
ccf76b7
ln -s ../vgabios/VGABIOS-lgpl-latest.cirrus.bin %{buildroot}/%{_datadir}/%{name}/vgabios-cirrus.bin
ccf76b7
ln -s ../bochs/BIOS-bochs-kvm %{buildroot}/%{_datadir}/%{name}/bios.bin
ccf76b7
ln -s ../openbios/openbios-ppc %{buildroot}/%{_datadir}/%{name}/openbios-ppc
ccf76b7
ln -s ../openbios/openbios-sparc32 %{buildroot}/%{_datadir}/%{name}/openbios-sparc32
ccf76b7
ln -s ../openbios/openbios-sparc64 %{buildroot}/%{_datadir}/%{name}/openbios-sparc64
Glauber Costa 4da298f
5c37348
%clean
5c37348
rm -rf $RPM_BUILD_ROOT
5c37348
Glauber Costa 8571d06
%post system-x86
1a58885
%ifarch %{ix86} x86_64
Glauber Costa 8571d06
# load kvm modules now, so we can make sure no reboot is needed.
Glauber Costa 8571d06
# If there's already a kvm module installed, we don't mess with it
fc8b74d
sh %{_sysconfdir}/sysconfig/modules/kvm.modules
Glauber Costa 8571d06
%endif
Glauber Costa 8571d06
cd8d5cb
%post common
cd8d5cb
getent group kvm >/dev/null || groupadd -g 36 -r kvm
cd8d5cb
getent group qemu >/dev/null || groupadd -g 107 -r qemu
cd8d5cb
getent passwd qemu >/dev/null || \
cd8d5cb
  useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
cd8d5cb
    -c "qemu user" qemu
cd8d5cb
cd8d5cb
/sbin/chkconfig --add ksm
cd8d5cb
/sbin/chkconfig --add ksmtuned
cd8d5cb
cd8d5cb
%preun common
cd8d5cb
if [ $1 -eq 0 ]; then
cd8d5cb
    /sbin/service ksmtuned stop &>/dev/null || :
cd8d5cb
    /sbin/chkconfig --del ksmtuned
cd8d5cb
    /sbin/service ksm stop &>/dev/null || :
cd8d5cb
    /sbin/chkconfig --del ksm
cd8d5cb
fi
cd8d5cb
cd8d5cb
%postun common
cd8d5cb
if [ $1 -ge 1 ]; then
cd8d5cb
    /sbin/service ksm condrestart &>/dev/null || :
cd8d5cb
    /sbin/service ksmtuned condrestart &>/dev/null || :
cd8d5cb
fi
cd8d5cb
Glauber Costa d56efc3
%post user
5c37348
/sbin/chkconfig --add qemu
5c37348
Glauber Costa d56efc3
%preun user
67348d7
if [ $1 -eq 0 ]; then
67348d7
    /sbin/service qemu stop &>/dev/null || :
67348d7
    /sbin/chkconfig --del qemu
67348d7
fi
67348d7
Glauber Costa d56efc3
%postun user
67348d7
if [ $1 -ge 1 ]; then
67348d7
    /sbin/service qemu condrestart &>/dev/null || :
5c37348
fi
5c37348
2ce182b
%files
Glauber Costa 485711f
%defattr(-,root,root)
Glauber Costa 485711f
f2160a7
%files kvm
f2160a7
%defattr(-,root,root)
f2160a7
Glauber Costa 485711f
%files common
Glauber Costa 485711f
%defattr(-,root,root)
Glauber Costa 485711f
%doc %{qemudocdir}/Changelog
Glauber Costa 485711f
%doc %{qemudocdir}/README
Glauber Costa 485711f
%doc %{qemudocdir}/TODO
2ce182b
%doc %{qemudocdir}/qemu-doc.html
Glauber Costa 485711f
%doc %{qemudocdir}/qemu-tech.html
2ce182b
%doc %{qemudocdir}/COPYING
2ce182b
%doc %{qemudocdir}/COPYING.LIB
Glauber Costa 485711f
%doc %{qemudocdir}/LICENSE
ccf76b7
%dir %{_datadir}/%{name}/
ccf76b7
%{_datadir}/%{name}/keymaps/
666df9e
%{_mandir}/man1/qemu.1*
666df9e
%{_mandir}/man8/qemu-nbd.8*
Glauber Costa 485711f
%{_bindir}/qemu-nbd
42af212
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
cd8d5cb
%{_initddir}/ksm
b112209
%config(noreplace) %{_sysconfdir}/sysconfig/ksm
cd8d5cb
%{_initddir}/ksmtuned
cd8d5cb
%{_sbindir}/ksmtuned
cd8d5cb
%config(noreplace) %{_sysconfdir}/ksmtuned.conf
Glauber Costa 485711f
%files user
5c37348
%defattr(-,root,root)
cd8d5cb
%{_initddir}/qemu
b4adffa
%{_bindir}/qemu-alpha
36ffedc
%{_bindir}/qemu-arm
36ffedc
%{_bindir}/qemu-armeb
b4adffa
%{_bindir}/qemu-cris
36ffedc
%{_bindir}/qemu-i386
Glauber Costa 485711f
%{_bindir}/qemu-x86_64
36ffedc
%{_bindir}/qemu-m68k
36ffedc
%{_bindir}/qemu-mips
36ffedc
%{_bindir}/qemu-mipsel
36ffedc
%{_bindir}/qemu-ppc
b4adffa
%{_bindir}/qemu-ppc64
b4adffa
%{_bindir}/qemu-ppc64abi32
b4adffa
%{_bindir}/qemu-sh4
b4adffa
%{_bindir}/qemu-sh4eb
36ffedc
%{_bindir}/qemu-sparc
b4adffa
%{_bindir}/qemu-sparc64
Glauber Costa 485711f
%{_bindir}/qemu-sparc32plus
Glauber Costa 485711f
%files system-x86
Glauber Costa 485711f
%defattr(-,root,root)
Glauber Costa 485711f
%{_bindir}/qemu
Glauber Costa 485711f
%{_bindir}/qemu-system-x86_64
ccf76b7
%{_datadir}/%{name}/bios.bin
f2bd6c6
%{_datadir}/%{name}/multiboot.bin
ccf76b7
%{_datadir}/%{name}/vgabios.bin
ccf76b7
%{_datadir}/%{name}/vgabios-cirrus.bin
ccf76b7
%{_datadir}/%{name}/pxe-e1000.bin
ccf76b7
%{_datadir}/%{name}/pxe-virtio.bin
ccf76b7
%{_datadir}/%{name}/pxe-pcnet.bin
ccf76b7
%{_datadir}/%{name}/pxe-rtl8139.bin
ccf76b7
%{_datadir}/%{name}/pxe-ne2k_pci.bin
Glauber Costa 8571d06
%ifarch %{ix86} x86_64
ccf76b7
%{_datadir}/%{name}/extboot.bin
Glauber Costa 8571d06
%{_bindir}/qemu-kvm
Glauber Costa 8571d06
%{_sysconfdir}/sysconfig/modules/kvm.modules
fc8b74d
%{_sysconfdir}/udev/rules.d/80-kvm.rules
Glauber Costa 0f3f164
%files kvm-tools
Glauber Costa 0f3f164
%defattr(-,root,root,-)
Glauber Costa 0f3f164
%{_bindir}/kvmtrace
Glauber Costa 0f3f164
%{_bindir}/kvmtrace_format
Glauber Costa 0f3f164
%{_bindir}/kvm_stat
Glauber Costa 8571d06
%endif
Glauber Costa 485711f
%files system-sparc
Glauber Costa 485711f
%defattr(-,root,root)
Glauber Costa 485711f
%{_bindir}/qemu-system-sparc
ccf76b7
%{_datadir}/%{name}/openbios-sparc32
ccf76b7
%{_datadir}/%{name}/openbios-sparc64
Glauber Costa 485711f
%files system-arm
Glauber Costa 485711f
%defattr(-,root,root)
36ffedc
%{_bindir}/qemu-system-arm
Glauber Costa 485711f
%files system-mips
Glauber Costa 485711f
%defattr(-,root,root)
36ffedc
%{_bindir}/qemu-system-mips
36ffedc
%{_bindir}/qemu-system-mipsel
b4adffa
%{_bindir}/qemu-system-mips64
b4adffa
%{_bindir}/qemu-system-mips64el
Glauber Costa 485711f
%files system-ppc
Glauber Costa 485711f
%defattr(-,root,root)
Glauber Costa 485711f
%{_bindir}/qemu-system-ppc
b4adffa
%{_bindir}/qemu-system-ppc64
b4adffa
%{_bindir}/qemu-system-ppcemb
ccf76b7
%{_datadir}/%{name}/openbios-ppc
ccf76b7
%{_datadir}/%{name}/video.x
ccf76b7
%{_datadir}/%{name}/bamboo.dtb
ccf76b7
%{_datadir}/%{name}/ppc_rom.bin
Glauber Costa 485711f
%files system-cris
Glauber Costa 485711f
%defattr(-,root,root)
Glauber Costa 485711f
%{_bindir}/qemu-system-cris
Glauber Costa 485711f
%files system-m68k
Glauber Costa 485711f
%defattr(-,root,root)
Glauber Costa 485711f
%{_bindir}/qemu-system-m68k
Glauber Costa 485711f
%files system-sh4
Glauber Costa 485711f
%defattr(-,root,root)
b4adffa
%{_bindir}/qemu-system-sh4
b4adffa
%{_bindir}/qemu-system-sh4eb
36ffedc
36ffedc
%files img
36ffedc
%defattr(-,root,root)
36ffedc
%{_bindir}/qemu-img
92dcc13
%{_bindir}/qemu-io
666df9e
%{_mandir}/man1/qemu-img.1*
5c37348
5c37348
%changelog
9780331
* Fri Nov 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-12
9780331
- Fix a use-after-free crasher in the slirp code (#539583)
9780331
- Fix overflow in the parallels image format support (#533573)
9780331
fe09646
* Wed Nov  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-11
fe09646
- Temporarily disable preadv/pwritev support to fix data corruption (#526549)
fe09646
5b4ffa8
* Tue Nov  3 2009 Justin M. Forbes <jforbes@redhat.com> - 2:0.11.0-10
5b4ffa8
- Default ksm and ksmtuned services on.
5b4ffa8
7ec637d
* Thu Oct 29 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-9
7ec637d
- Fix dropped packets with non-virtio NICs (#531419)
7ec637d
Glauber Costa 690ee5d
* Wed Oct 21 2009 Glauber Costa <gcosta@redhat.com> - 2:0.11.0-8
Glauber Costa 690ee5d
- Properly save kvm time registers (#524229)
Glauber Costa 690ee5d
98f6658
* Mon Oct 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-7
98f6658
- Fix potential segfault from too small MSR_COUNT (#528901)
98f6658
ed1eefd
* Fri Oct  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-6
ed1eefd
- Fix fs errors with virtio and qcow2 backing file (#524734)
ed1eefd
- Fix ksm initscript errors on kernel missing ksm (#527653)
ed1eefd
- Add missing Requires(post): getent, useradd, groupadd (#527087)
ed1eefd
7cc048b
* Tue Oct  6 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-5
7cc048b
- Add 'retune' verb to ksmtuned init script
7cc048b
252dbd0
* Mon Oct  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-4
252dbd0
- Use rtl8029 PXE rom for ne2k_pci, not ne (#526777)
252dbd0
- Also, replace the gpxe-roms-qemu pkg requires with file-based requires
252dbd0
c63c2b3
* Thu Oct  1 2009 Justin M. Forbes <jmforbes@redhat.com> - 2:0.11.0-3
c63c2b3
- Improve error reporting on file access (#524695)
c63c2b3
48e123e
* Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-2
48e123e
- Fix pci hotplug to not exit if supplied an invalid NIC model (#524022)
48e123e
904b1d4
* Mon Sep 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.11.0-1
904b1d4
- Update to 0.11.0 release
904b1d4
- Drop a couple of upstreamed patches
904b1d4
1c9931d
* Wed Sep 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-5
1c9931d
- Fix issue causing NIC hotplug confusion when no model is specified (#524022)
1c9931d
ef961da
* Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-4
ef961da
- Fix for KSM patch from Justin Forbes
ef961da
cd8d5cb
* Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-3
cd8d5cb
- Add ksmtuned, also from Dan Kenigsberg
cd8d5cb
- Use %_initddir macro
cd8d5cb
b112209
* Wed Sep 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-2
b112209
- Add ksm control script from Dan Kenigsberg
b112209
6780ef8
* Mon Sep  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.92-1
6780ef8
- Update to qemu-kvm-0.11.0-rc2
6780ef8
- Drop upstreamed patches
6780ef8
- extboot install now fixed upstream
6780ef8
- Re-place TCG init fix (#516543) with the one gone upstream
6780ef8
dc5736c
* Mon Sep  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.10.rc1
dc5736c
- Fix MSI-X error handling on older kernels (#519787)
dc5736c
ee62648
* Fri Sep  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.9.rc1
ee62648
- Make pulseaudio the default audio backend (#519540, #495964, #496627)
ee62648
9d0bd0d
* Thu Aug 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2:0.10.91-0.8.rc1
9d0bd0d
- Fix segfault when qemu-kvm is invoked inside a VM (#516543)
9d0bd0d
6db7331
* Tue Aug 18 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.7.rc1
6db7331
- Fix permissions on udev rules (#517571)
6db7331
baac614
* Mon Aug 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 2:0.10.91-0.6.rc1
6db7331
- Allow blacklisting of kvm modules (#517866)
baac614
0c2ae84
* Fri Aug  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.5.rc1
0c2ae84
- Fix virtio_net with -net user (#516022)
0c2ae84
dc170b4
* Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.4.rc1
dc170b4
- Update to qemu-kvm-0.11-rc1; no changes from rc1-rc0
dc170b4
f4d6ad7
* Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.3.rc1.rc0
f4d6ad7
- Fix extboot checksum (bug #514899)
f4d6ad7
fc7c34c
* Fri Jul 31 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.2.rc1.rc0
fc7c34c
- Add KSM support
fc7c34c
- Require bochs-bios >= 2.3.8-0.8 for latest kvm bios updates
fc7c34c
ddfcbf7
* Thu Jul 30 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.1.rc1.rc0
ddfcbf7
- Update to qemu-kvm-0.11.0-rc1-rc0
ddfcbf7
- This is a pre-release of the official -rc1
ddfcbf7
- A vista installer regression is blocking the official -rc1 release
ddfcbf7
- Drop qemu-prefer-sysfs-for-usb-host-devices.patch
ddfcbf7
- Drop qemu-fix-build-for-esd-audio.patch
ddfcbf7
- Drop qemu-slirp-Fix-guestfwd-for-incoming-data.patch
ddfcbf7
- Add patch to ensure extboot.bin is installed
ddfcbf7
0344cfb
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.10.50-14.kvm88
0344cfb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0344cfb
Glauber Costa 5e6fc53
* Thu Jul 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-13.kvm88
Glauber Costa 5e6fc53
- Fix bug 513249, -net channel option is broken
Glauber Costa 5e6fc53
308a9a0
* Thu Jul 16 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.10.50-12.kvm88
308a9a0
- Add 'qemu' user and group accounts
308a9a0
- Force disable xen until it can be made to build
308a9a0
a8abd8e
* Thu Jul 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-11.kvm88
a8abd8e
- Update to kvm-88, see http://www.linux-kvm.org/page/ChangeLog
a8abd8e
- Package mutiboot.bin
a8abd8e
- Update for how extboot is built
a8abd8e
- Fix sf.net source URL
a8abd8e
- Drop qemu-fix-ppc-softmmu-kvm-disabled-build.patch
a8abd8e
- Drop qemu-fix-pcspk-build-with-kvm-disabled.patch
a8abd8e
- Cherry-pick fix for esound support build failure
a8abd8e
fc8b74d
* Wed Jul 15 2009 Daniel Berrange <berrange@lettuce.camlab.fab.redhat.com> - 2:0.10.50-10.kvm87
fc8b74d
- Add udev rules to make /dev/kvm world accessible & group=kvm (rhbz #497341)
fc8b74d
- Create a kvm group if it doesn't exist (rhbz #346151)
fc8b74d
Glauber Costa 247782d
* Tue Jul 07 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-9.kvm87
Glauber Costa 247782d
- use pxe roms from gpxe, instead of etherboot package.
Glauber Costa 247782d
9954466
* Fri Jul  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-8.kvm87
9954466
- Prefer sysfs over usbfs for usb passthrough (#508326)
9954466
997cc54
* Sat Jun 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-7.kvm87
997cc54
- Update to kvm-87
997cc54
- Drop upstreamed patches
bc0345f
- Cherry-pick new ppc build fix from upstream
98d891d
- Work around broken linux-user build on ppc
d298fd0
- Fix hw/pcspk.c build with --disable-kvm
997cc54
- Re-enable preadv()/pwritev() since #497429 is long since fixed
bd50c41
- Kill petalogix-s3adsp1800.dtb, since we don't ship the microblaze target
997cc54
62fb375
* Fri Jun  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-6.kvm86
62fb375
- Fix 'kernel requires an x86-64 CPU' error
62fb375
- BuildRequires ncurses-devel to enable '-curses' option (#504226)
62fb375
e376157
* Wed Jun  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-5.kvm86
e376157
- Prevent locked cdrom eject - fixes hang at end of anaconda installs (#501412)
e376157
- Avoid harmless 'unhandled wrmsr' warnings (#499712)
e376157
666df9e
* Thu May 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-4.kvm86
ccf76b7
- Update to kvm-86 release
ccf76b7
- ChangeLog here: http://marc.info/?l=kvm&m=124282885729710
ccf76b7
f2160a7
* Fri May  1 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-3.kvm85
f2160a7
- Really provide qemu-kvm as a metapackage for comps
f2160a7
d7d988b
* Tue Apr 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-2.kvm85
d7d988b
- Provide qemu-kvm as a metapackage for comps
d7d988b
92dcc13
* Mon Apr 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-1.kvm85
92dcc13
- Update to qemu-kvm-devel-85
92dcc13
- kvm-85 is based on qemu development branch, currently version 0.10.50
92dcc13
- Include new qemu-io utility in qemu-img package
92dcc13
- Re-instate -help string for boot=on to fix virtio booting with libvirt
92dcc13
- Drop upstreamed patches
92dcc13
- Fix missing kernel/include/asm symlink in upstream tarball
92dcc13
- Fix target-arm build
7701e01
- Fix build on ppc
92dcc13
- Disable preadv()/pwritev() until bug #497429 is fixed
92dcc13
- Kill more .kernelrelease uselessness
92dcc13
- Make non-kvm qemu build verbose
92dcc13
171644e
* Fri Apr 24 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-15
171644e
- Fix source numbering typos caused by make-release addition
171644e
6694afc
* Thu Apr 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-14
6694afc
- Improve instructions for generating the tarball
6694afc
6d887bd
* Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-13
6d887bd
- Enable pulseaudio driver to fix qemu lockup at shutdown (#495964)
6d887bd
e1eeded
* Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-12
e1eeded
- Another qcow2 image corruption fix (#496642)
e1eeded
35588fd
* Mon Apr 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-11
35588fd
- Fix qcow2 image corruption (#496642)
35588fd
1a58885
* Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-10
1a58885
- Run sysconfig.modules from %post on x86_64 too (#494739)
1a58885
513689d
* Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-9
513689d
- Align VGA ROM to 4k boundary - fixes 'qemu-kvm -std vga' (#494376)
513689d
Glauber Costa 52ac188
* Tue Apr  14 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-8
Glauber Costa 52ac188
- Provide qemu-kvm conditional on the architecture.
Glauber Costa 52ac188
3dcd9a4
* Thu Apr  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-7
3dcd9a4
- Add a much cleaner fix for vga segfault (#494002)
3dcd9a4
Glauber Costa 3b07569
* Sun Apr  5 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-6
Glauber Costa 3b07569
- Fixed qcow2 segfault creating disks over 2TB. #491943
Glauber Costa 3b07569
910c5e3
* Fri Apr  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-5
910c5e3
- Fix vga segfault under kvm-autotest (#494002)
910c5e3
- Kill kernelrelease hack; it's not needed
910c5e3
- Build with "make V=1" for more verbose logs
910c5e3
Glauber Costa 3afbf09
* Thu Apr 02 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-4
Glauber Costa 3afbf09
- Support botting gpxe roms.
Glauber Costa 3afbf09
Glauber Costa 0b5d26d
* Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-2
Glauber Costa 0b5d26d
- added missing patch. love for CVS.
Glauber Costa 0b5d26d
Glauber Costa 47b0758
* Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-1
Glauber Costa 47b0758
- Include debuginfo for qemu-img
Glauber Costa 47b0758
- Do not require qemu-common for qemu-img
Glauber Costa 47b0758
- Explicitly own each of the firmware files
Glauber Costa 47b0758
- remove firmwares for ppc and sparc. They should be provided by an external package.
Glauber Costa 47b0758
  Not that the packages exists for sparc in the secondary arch repo as noarch, but they
Glauber Costa 47b0758
  don't automatically get into main repos. Unfortunately it's the best we can do right
Glauber Costa 47b0758
  now.
Glauber Costa 47b0758
- rollback a bit in time. Snapshot from avi's maint/2.6.30
Glauber Costa 47b0758
  - this requires the sasl patches to come back.
Glauber Costa 47b0758
  - with-patched-kernel comes back.
Glauber Costa 47b0758
9a6ed39
* Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-0.12.kvm20090323git
9a6ed39
- BuildRequires pciutils-devel for device assignment (#492076)
9a6ed39
Glauber Costa 9e9690b
* Mon Mar 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.11.kvm20090323git
Glauber Costa 9e9690b
- Update to snapshot kvm20090323.
Glauber Costa 9e9690b
- Removed patch2 (upstream).
Glauber Costa 9e9690b
- use upstream's new split package.
Glauber Costa 9e9690b
- --with-patched-kernel flag not needed anymore
Glauber Costa 9e9690b
- Tell how to get the sources.
Glauber Costa 9e9690b
Glauber Costa a2460b8
* Wed Mar 18 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.10.kvm20090310git
Glauber Costa a2460b8
- Added extboot to files list.
Glauber Costa a2460b8
Glauber Costa 5b0b644
* Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.9.kvm20090310git
Glauber Costa 5b0b644
- Fix wrong reference to bochs bios.
Glauber Costa 5b0b644
Glauber Costa 0c2ec92
* Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.8.kvm20090310git
Glauber Costa 0c2ec92
- fix Obsolete/Provides pair
Glauber Costa 0c2ec92
- Use kvm bios from bochs-bios package.
Glauber Costa 0c2ec92
- Using RPM_OPT_FLAGS in configure
Glauber Costa 0c2ec92
- Picked back audio-drv-list from kvm package
Glauber Costa 0c2ec92
Glauber Costa 206c786
* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.7.kvm20090310git
Glauber Costa 206c786
- modify ppc patch
Glauber Costa 206c786
Glauber Costa 31b341d
* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.6.kvm20090310git
Glauber Costa 31b341d
- updated to kvm20090310git
Glauber Costa 31b341d
- removed sasl patches (already in this release)
Glauber Costa 31b341d
Glauber Costa 4da298f
* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.5.kvm20090303git
Glauber Costa 4da298f
- kvm.modules were being wrongly mentioned at %%install.
Glauber Costa 4da298f
- update description for the x86 system package to include kvm support
Glauber Costa 4da298f
- build kvm's own bios. It is still necessary while kvm uses a slightly different
Glauber Costa 4da298f
  irq routing mechanism
Glauber Costa e41549d
Glauber Costa b9aebde
* Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.4.kvm20090303git
Glauber Costa b9aebde
- seems Epoch does not go into the tags. So start back here.
Glauber Costa b9aebde
Glauber Costa e0f4cd7
* Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.1.kvm20090303git
Glauber Costa e0f4cd7
- Use bochs-bios instead of bochs-bios-data
Glauber Costa e0f4cd7
- It's official: upstream set on 0.10
Glauber Costa e0f4cd7
913ab98
* Thu Mar  5 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.9.2-0.2.kvm20090303git
913ab98
- Added BSD to license list, since many files are covered by BSD
913ab98
Glauber Costa 420de02
* Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.9.2-0.1.kvm20090303git
Glauber Costa 420de02
- missing a dot. shame on me
Glauber Costa 420de02
Glauber Costa 9235f99
* Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.92-0.1.kvm20090303git
Glauber Costa 9235f99
- Set Epoch to 2
Glauber Costa 9235f99
- Set version to 0.92. It seems upstream keep changing minds here, so pick the lowest
Glauber Costa 9235f99
- Provides KVM, Obsoletes KVM
Glauber Costa 9235f99
- Only install qemu-kvm in ix86 and x86_64
Glauber Costa 9235f99
- Remove pkgdesc macros, as they were generating bogus output for rpm -qi.
Glauber Costa 9235f99
- fix ppc and ppc64 builds
Glauber Costa 9235f99
Glauber Costa d56efc3
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.3.kvm20090303git
Glauber Costa d56efc3
- only execute post scripts for user package.
Glauber Costa 0f3f164
- added kvm tools.
Glauber Costa d56efc3
Glauber Costa b8bea84
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.2.kvm20090303git
Glauber Costa b8bea84
- put kvm.modules into cvs
Glauber Costa b8bea84
Glauber Costa 8571d06
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.1.kvm20090303git
Glauber Costa 8571d06
- Set Epoch to 1
Glauber Costa 8571d06
- Build KVM (basic build, no tools yet)
Glauber Costa 8571d06
- Set ppc in ExcludeArch. This is temporary, just to fix one issue at a time.
Glauber Costa 8571d06
  ppc users (IBM ? ;-)) please wait a little bit.
Glauber Costa 8571d06
42af212
* Tue Mar  3 2009 Daniel P. Berrange <berrange@redhat.com> - 1.0-0.5.svn6666
42af212
- Support VNC SASL authentication protocol
42af212
- Fix dep on bochs-bios-data
42af212
Glauber Costa f97a706
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.4.svn6666
Glauber Costa f97a706
- use bios from bochs-bios package.
Glauber Costa f97a706
Glauber Costa 3e01e73
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.3.svn6666
Glauber Costa 3e01e73
- use vgabios from vgabios package.
Glauber Costa 3e01e73
Glauber Costa f0365cc
* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.2.svn6666
Glauber Costa f0365cc
- use pxe roms from etherboot package.
Glauber Costa f0365cc
Glauber Costa 485711f
* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.1.svn6666
Glauber Costa 485711f
- Updated to tip svn (release 6666). Featuring split packages for qemu.
Glauber Costa 485711f
  Unfortunately, still using binary blobs for the bioses.
Glauber Costa 485711f
c6f944a
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13
c6f944a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c6f944a
ff91915
* Sun Jan 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.9.1-12
ff91915
- Updated build patch. Closes Red Hat Bugzilla bug #465041.
ff91915
1cd90b0
* Wed Dec 31 2008 Dennis Gilmore <dennis@ausil.us> - 0.9.1-11
1cd90b0
- add sparcv9 and sparc64 support
1cd90b0
a7289f8
* Fri Jul 25 2008 Bill Nottingham <notting@redhat.com>
a7289f8
- Fix qemu-img summary (#456344)
a7289f8
549de8e
* Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-10.fc10
549de8e
- Rebuild for GNU TLS ABI change
549de8e
b4adffa
* Wed Jun 11 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-9.fc10
b4adffa
- Remove bogus wildcard from files list (rhbz #450701)
b4adffa
4c8582a
* Sat May 17 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-8
4c8582a
- Register binary handlers also for shared libraries
4c8582a
a1020fb
* Mon May  5 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-7.fc10
a1020fb
- Fix text console PTYs to be in rawmode
a1020fb
d0fefc1
* Sun Apr 27 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.9.1-6
d0fefc1
- Register binary handler for SuperH-4 CPU
d0fefc1
36ffedc
* Wed Mar 19 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-5.fc9
36ffedc
- Split qemu-img tool into sub-package for smaller footprint installs
36ffedc
0778a10
* Wed Feb 27 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-4.fc9
0778a10
- Fix block device checks for extendable disk formats (rhbz #435139)
0778a10
0778a10
* Sat Feb 23 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-3.fc9
b80713d
- Fix block device extents check (rhbz #433560)
b80713d
6095772
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-2
6095772
- Autorebuild for GCC 4.3
6095772
e62519f
* Tue Jan  8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-1.fc9
e62519f
- Updated to 0.9.1 release
e62519f
- Fix license tag syntax
e62519f
- Don't mark init script as a config file
e62519f
f4a1bb2
* Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-5.fc8
f4a1bb2
- Fix rtl8139 checksum calculation for Vista (rhbz #308201)
f4a1bb2
4ecadb0
* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-4.fc8
4ecadb0
- Fix debuginfo by passing -Wl,--build-id to linker
4ecadb0
e415ab2
* Tue Aug 28 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-4
e415ab2
- Update licence
e415ab2
- Fix CDROM emulation (#253542)
e415ab2
304b402
* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-3.fc8
304b402
- Added backport of VNC password auth, and TLS+x509 cert auth
304b402
- Switch to rtl8139 NIC by default for linkstate reporting
304b402
- Fix rtl8139 mmio region mappings with multiple NICs
304b402
76b47ee
* Sun Apr  1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.0-2
76b47ee
- Fix direct loading of a linux kernel with -kernel & -initrd (bz 234681)
76b47ee
- Remove spurious execute bits from manpages (bz 222573)
76b47ee
4cf268e
* Tue Feb  6 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-1
4cf268e
- Update to 0.9.0
4cf268e
f579225
* Wed Jan 31 2007 David Woodhouse <dwmw2@infradead.org> 0.8.2-5
f579225
- Include licences
f579225
019db4e
* Mon Nov 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.2-4
019db4e
- Backport patch to make FC6 guests work by Kevin Kofler
019db4e
  <Kevin@tigcc.ticalc.org> (bz 207843).
019db4e
f6b93be
* Mon Sep 11 2006 David Woodhouse <dwmw2@infradead.org> 0.8.2-3
f6b93be
- Rebuild
f6b93be
e6d232d
* Thu Aug 24 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-2
e6d232d
- Remove the target-list iteration for x86_64 since they all build again.
e6d232d
- Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for
e6d232d
  FC5 and FC6.
e6d232d
67348d7
* Wed Aug 23 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-1
67348d7
- Update to 0.8.2 (#200065).
67348d7
- Drop upstreamed syscall-macros patch2.
67348d7
- Put correct scriplet dependencies.
67348d7
- Force install mode for the init script to avoid umask problems.
67348d7
- Add %%postun condrestart for changes to the init script to be applied if any.
67348d7
- Update description with the latest "about" from the web page (more current).
67348d7
- Update URL to qemu.org one like the Source.
67348d7
- Add which build requirement.
67348d7
- Don't include texi files in %%doc since we ship them in html.
01139d8
- Switch to using gcc34 on devel, FC5 still has gcc32.
5d09533
- Add kernheaders patch to fix linux/compiler.h inclusion.
5c9bd86
- Add target-sparc patch to fix compiling on ppc (some int32 to float).
67348d7
1ca9271
* Thu Jun  8 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-3
1ca9271
- More header abuse in modify_ldt(), change BuildRoot:
1ca9271
1ca9271
* Wed Jun  7 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-2
fb30f3e
- Fix up kernel header abuse
fb30f3e
7b2bfbe
* Tue May 30 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-1
7b2bfbe
- Update to 0.8.1
7b2bfbe
9432920
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-6
9432920
- Update linker script for PPC
9432920
9432920
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-5
9432920
- Just drop $RPM_OPT_FLAGS. They're too much of a PITA
9432920
9432920
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-4
9432920
- Disable stack-protector options which gcc 3.2 doesn't like
9432920
9f8ef0c
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-3
9f8ef0c
- Use -mcpu= instead of -mtune= on x86_64 too
9f8ef0c
- Disable SPARC targets on x86_64, because dyngen doesn't like fnegs
9f8ef0c
bf44302
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-2
bf44302
- Don't use -mtune=pentium4 on i386. GCC 3.2 doesn't like it
bf44302
a08e53e
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-1
a08e53e
- Update to 0.8.0
a08e53e
- Resort to using compat-gcc-32
a08e53e
- Enable ALSA
a08e53e
a08e53e
* Mon May 16 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-2
66db2b3
- Proper fix for GCC 4 putting 'blr' or 'ret' in the middle of the function,
66db2b3
  for i386, x86_64 and PPC.
66db2b3
a08e53e
* Sat Apr 30 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-1
9b980ed
- Update to 0.7.0
9b980ed
- Fix dyngen for PPC functions which end in unconditional branch
9b980ed
e4c6058
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
e4c6058
- rebuilt
e4c6058
c8e4b31
* Sun Feb 13 2005 David Woodhouse <dwmw2@infradead.org> 0.6.1-2
c8e4b31
- Package cleanup
c8e4b31
5c37348
* Sun Nov 21 2004 David Woodhouse <dwmw2@redhat.com> 0.6.1-1
5c37348
- Update to 0.6.1
5c37348
5c37348
* Tue Jul 20 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-2
5c37348
- Compile fix from qemu CVS, add x86_64 host support
5c37348
5c37348
* Mon May 12 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-1
5c37348
- Update to 0.6.0.
5c37348
5c37348
* Sat May 8 2004 David Woodhouse <dwmw2@redhat.com> 0.5.5-1
5c37348
- Update to 0.5.5.
5c37348
5c37348
* Thu May 2 2004 David Woodhouse <dwmw2@redhat.com> 0.5.4-1
5c37348
- Update to 0.5.4.
5c37348
5c37348
* Thu Apr 22 2004 David Woodhouse <dwmw2@redhat.com> 0.5.3-1
5c37348
- Update to 0.5.3. Add init script.
5c37348
5c37348
* Thu Jul 17 2003 Jeff Johnson <jbj@redhat.com> 0.4.3-1
5c37348
- Create.