peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame qemu.spec

Mark McLoughlin dc170b
%define kvmvertag  rc1
Mark McLoughlin dc170b
%define kvmverfull kvm-0.11.0-rc1
Mark McLoughlin 92dcc1
David Woodhouse 5c3734
Summary: QEMU is a FAST! processor emulator
David Woodhouse 5c3734
Name: qemu
Mark McLoughlin ddfcbf
Version: 0.10.91
Mark McLoughlin 6db733
Release: 0.7.%{kvmvertag}%{?dist}
Mark McLoughlin 92dcc1
# Epoch because we pushed a qemu-1.0 package
Glauber Costa 9235f9
Epoch: 2
Daniel P. Berrange 913ab9
License: GPLv2+ and LGPLv2+ and BSD
David Woodhouse 5c3734
Group: Development/Tools
Matthias Saou 67348d
URL: http://www.qemu.org/
Glauber Costa 9e9690
Mark McLoughlin dc170b
Source0: http://downloads.sourceforge.net/sourceforge/kvm/qemu-%{kvmverfull}.tar.gz
Mark McLoughlin 92dcc1
Source1: qemu.init
Mark McLoughlin 92dcc1
Source2: kvm.modules
Daniel P. Berrange fc8b74
Source3: 80-kvm.rules
Mark McLoughlin 92dcc1
Mark McLoughlin 92dcc1
# Not upstream, why?
Mark McLoughlin bc0345
Patch01: qemu-bios-bigger-roms.patch
Mark McLoughlin bc0345
Mark McLoughlin 98d891
# Works around broken linux-user build on ppc
Mark McLoughlin a8abd8
Patch02: qemu-fix-linux-user-build-on-ppc.patch
Mark McLoughlin d298fd
Mark McLoughlin ddfcbf
# Make sure multiboot.bin/extboot.bin gets installed
Mark McLoughlin ddfcbf
Patch03: qemu-fix-optionrom-install.patch
Glauber Costa 5e6fc5
Mark McLoughlin fc7c34
# Add KSM support - see https://fedoraproject.org/wiki/Features/KSM
Mark McLoughlin fc7c34
Patch04: qemu-add-ksm-support.patch
Mark McLoughlin fc7c34
Mark McLoughlin f4d6ad
# Fix extboot checksum (bug #514899)
Mark McLoughlin f4d6ad
Patch05: qemu-fix-extboot-signrom.patch
Mark McLoughlin f4d6ad
Mark McLoughlin 0c2ae8
# Fix virtio_net with -net user (bug #516022)
Mark McLoughlin 0c2ae8
Patch06: qemu-fix-vnet-hdr-slirp-bustage.patch
Mark McLoughlin 0c2ae8
Richard W.M. Jones 9d0bd0
# Fix segfault when qemu-kvm is invoked inside a VM (where HVM is not
Richard W.M. Jones 9d0bd0
# available).  RHBZ#516543
Richard W.M. Jones 9d0bd0
#
Richard W.M. Jones 9d0bd0
# Regression was introduced by this commit:
Richard W.M. Jones 9d0bd0
# http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commitdiff;h=b8083e930efc1ee85a7ad7e700dbd0f52ebb32dd
Richard W.M. Jones 9d0bd0
#
Richard W.M. Jones 9d0bd0
# Upstream discussion:
Richard W.M. Jones 9d0bd0
# http://www.mail-archive.com/kvm@vger.kernel.org/msg19890.html
Richard W.M. Jones 9d0bd0
#
Richard W.M. Jones 9d0bd0
# Note: NOT UPSTREAM and this is something of a hack.  Upstream are
Richard W.M. Jones 9d0bd0
# still debating how they really want to fix this.
Richard W.M. Jones 9d0bd0
Patch07: qemu-fix-no-kvm-segfault.patch
Richard W.M. Jones 9d0bd0
Mark McLoughlin f8cb04
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Mark McLoughlin 31a083
BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel
Glauber Costa 4da298
BuildRequires: rsync dev86 iasl
Mark McLoughlin 9a6ed3
BuildRequires: pciutils-devel
Mark McLoughlin 6d887b
BuildRequires: pulseaudio-libs-devel
Mark McLoughlin 62fb37
BuildRequires: ncurses-devel
Glauber Costa 9235f9
Requires: %{name}-user = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-system-x86 = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-system-sparc = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-system-arm = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-system-cris = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-system-sh4 = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-system-m68k = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-system-mips = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-system-ppc = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
Requires: %{name}-img = %{epoch}:%{version}-%{release}
Glauber Costa 8571d0
Glauber Costa 485711
%define qemudocdir %{_docdir}/%{name}-%{version}
Glauber Costa 485711
David Woodhouse 5c3734
%description
Matthias Saou 67348d
QEMU is a generic and open source processor emulator which achieves a good
Matthias Saou 67348d
emulation speed by using dynamic translation. QEMU has two operating modes:
David Woodhouse 5c3734
Matthias Saou 67348d
 * Full system emulation. In this mode, QEMU emulates a full system (for
Matthias Saou 67348d
   example a PC), including a processor and various peripherials. It can be
Matthias Saou 67348d
   used to launch different Operating Systems without rebooting the PC or
Matthias Saou 67348d
   to debug system code.
David Woodhouse 5c3734
 * User mode emulation. In this mode, QEMU can launch Linux processes compiled
Matthias Saou 67348d
   for one CPU on another CPU.
David Woodhouse 5c3734
Matthias Saou 67348d
As QEMU requires no host kernel patches to run, it is safe and easy to use.
David Woodhouse 5c3734
Mark McLoughlin d7d988
%package kvm
Mark McLoughlin d7d988
Summary: QEMU metapackage for KVM support
Mark McLoughlin d7d988
Group: Development/Tools
Mark McLoughlin d7d988
%ifarch %{ix86} x86_64
Mark McLoughlin d7d988
Requires: qemu-system-x86 = %{epoch}:%{version}-%{release}
Mark McLoughlin d7d988
%endif
Mark McLoughlin d7d988
%ifarch ppc ppc64
Mark McLoughlin d7d988
Requires: qemu-system-ppc = %{epoch}:%{version}-%{release}
Mark McLoughlin d7d988
%endif
Mark McLoughlin d7d988
Mark McLoughlin d7d988
%description kvm
Mark McLoughlin d7d988
This is a meta-package that provides a qemu-system-<arch> package for native
Mark McLoughlin d7d988
architectures where kvm can be enabled. For example, in an x86 system, this
Mark McLoughlin d7d988
will install qemu-system-x86
Mark McLoughlin d7d988
Glauber Costa 9235f9
%package  img
Glauber Costa 9235f9
Summary: QEMU command line tool for manipulating disk images
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
%description img
Glauber Costa 9235f9
QEMU is a generic and open source processor emulator which achieves a good 
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 9235f9
This package provides the command line tool for manipulating disk images
Daniel P. Berrange 36ffed
Glauber Costa 9235f9
%package  common
Glauber Costa 9235f9
Summary: QEMU common files needed by all QEMU targets
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
%description common
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 9235f9
This package provides the common files needed by all QEMU targets
Glauber Costa 485711
Glauber Costa 9235f9
%package user
Glauber Costa 9235f9
Summary: QEMU user mode emulation of qemu targets
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 485711
Requires(post): /sbin/chkconfig
Glauber Costa 485711
Requires(preun): /sbin/service /sbin/chkconfig
Glauber Costa 485711
Requires(postun): /sbin/service
Glauber Costa 9235f9
%description user
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 485711
Glauber Costa 9235f9
This package provides the user mode emulation of qemu targets
Glauber Costa 9235f9
Glauber Costa 9235f9
%package system-x86
Glauber Costa 9235f9
Summary: QEMU system emulator for x86
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 247782
Requires: gpxe-roms-qemu
Glauber Costa 3e01e7
Requires: vgabios
Mark McLoughlin fc7c34
Requires: bochs-bios >= 2.3.8-0.8
Glauber Costa 0c2ec9
Provides: kvm = 85
Glauber Costa 9235f9
Obsoletes: kvm < 85
Glauber Costa 9235f9
Glauber Costa 9235f9
%description system-x86
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 4da298
This package provides the system emulator for x86. When being run in a x86
Glauber Costa 4da298
machine that supports it, this package also provides the KVM virtualization
Glauber Costa 4da298
platform.
Glauber Costa 9235f9
Glauber Costa 9235f9
%package system-ppc
Glauber Costa 9235f9
Summary: QEMU system emulator for ppc
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 47b075
Requires: openbios-ppc
Glauber Costa 9235f9
%description system-ppc
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 9235f9
This package provides the system emulator for ppc
Glauber Costa 9235f9
Glauber Costa 9235f9
%package system-sparc
Glauber Costa 9235f9
Summary: QEMU system emulator for sparc
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
%description system-sparc
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 9235f9
This package provides the system emulator for sparc
Glauber Costa 9235f9
Glauber Costa 9235f9
%package system-arm
Glauber Costa 9235f9
Summary: QEMU system emulator for arm
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
%description system-arm
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 9235f9
This package provides the system emulator for arm
Glauber Costa 9235f9
Glauber Costa 9235f9
%package system-mips
Glauber Costa 9235f9
Summary: QEMU system emulator for mips
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
%description system-mips
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 9235f9
This package provides the system emulator for mips
Glauber Costa 485711
Glauber Costa 9235f9
%package system-cris
Glauber Costa 9235f9
Summary: QEMU system emulator for cris
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
%description system-cris
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 9235f9
This package provides the system emulator for cris
Glauber Costa 9235f9
Glauber Costa 9235f9
%package system-m68k
Glauber Costa 9235f9
Summary: QEMU system emulator for m68k
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
%description system-m68k
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 9235f9
This package provides the system emulator for m68k
Daniel P. Berrange 36ffed
Glauber Costa 9235f9
%package system-sh4
Glauber Costa 9235f9
Summary: QEMU system emulator for sh4
Glauber Costa 9235f9
Group: Development/Tools
Glauber Costa 9235f9
Requires: %{name}-common = %{epoch}:%{version}-%{release}
Glauber Costa 9235f9
%description system-sh4
Glauber Costa c9c3df
QEMU is a generic and open source processor emulator which achieves a good
Glauber Costa 9235f9
emulation speed by using dynamic translation.
Glauber Costa 9235f9
Glauber Costa 9235f9
This package provides the system emulator for sh4
Daniel P. Berrange 36ffed
Glauber Costa 0f3f16
%ifarch %{ix86} x86_64
Glauber Costa 0f3f16
%package kvm-tools
Glauber Costa 0f3f16
Summary: KVM debugging and diagnostics tools
Glauber Costa 0f3f16
Group: Development/Tools
Glauber Costa 0f3f16
Glauber Costa 0f3f16
%description kvm-tools
Glauber Costa 0f3f16
This package contains some diagnostics and debugging tools for KVM,
Glauber Costa 0f3f16
such as kvmtrace and kvm_stat.
Glauber Costa 0f3f16
%endif
Glauber Costa 0f3f16
David Woodhouse 5c3734
%prep
Mark McLoughlin 92dcc1
%setup -q -n qemu-%{kvmverfull}
Mark McLoughlin 92dcc1
Mark McLoughlin bc0345
%patch01 -p1
Mark McLoughlin bc0345
%patch02 -p1
Mark McLoughlin 98d891
%patch03 -p1
Mark McLoughlin fc7c34
%patch04 -p1
Mark McLoughlin f4d6ad
%patch05 -p1
Mark McLoughlin 0c2ae8
%patch06 -p1
Richard W.M. Jones 9d0bd0
%patch07 -p1
David Woodhouse 5c3734
David Woodhouse 5c3734
%build
Glauber Costa c9c3df
# systems like rhel build system does not have a recent enough linker so
Glauber Costa 485711
# --build-id works. this option is used fedora 8 onwards for giving info
Glauber Costa 485711
# to the debug packages.
Glauber Costa 485711
Glauber Costa 485711
build_id_available() {
Glauber Costa 485711
 echo "int main () { return 0; }" | gcc -x c -Wl,--build-id - 2>/dev/null
Glauber Costa 485711
}
Glauber Costa 485711
Glauber Costa 485711
if build_id_available; then
Glauber Costa 8571d0
 extraldflags="-Wl,--build-id";
Glauber Costa 485711
 buildldflags="VL_LDFLAGS=-Wl,--build-id"
Glauber Costa 485711
else
Glauber Costa 485711
 extraldflags=""
Glauber Costa 485711
 buildldflags=""
Glauber Costa 485711
fi
Glauber Costa 485711
Glauber Costa 8571d0
%ifarch %{ix86} x86_64
Mark McLoughlin 6d887b
# sdl outputs to alsa or pulseaudio depending on system config, but it's broken (#495964)
Glauber Costa 0c2ec9
# alsa works, but causes huge CPU load due to bugs
Glauber Costa 0c2ec9
# oss works, but is very problematic because it grabs exclusive control of the device causing other apps to go haywire
Glauber Costa 9e9690
./configure --target-list=x86_64-softmmu \
Mark McLoughlin ccf76b
            --prefix=%{_prefix} \
Mark McLoughlin 6d887b
            --audio-drv-list=pa,sdl,alsa,oss \
Glauber Costa 47b075
            --disable-strip \
Mark McLoughlin ccf76b
            --extra-ldflags=$extraldflags \
Daniel P. Berrange 308a9a
            --extra-cflags="$RPM_OPT_FLAGS" \
Daniel P. Berrange 308a9a
            --disable-xen
Glauber Costa 8571d0
Mark McLoughlin f2bd6c
echo "config-host.mak contents:"
Mark McLoughlin f2bd6c
echo "==="
Mark McLoughlin f2bd6c
cat config-host.mak
Mark McLoughlin f2bd6c
echo "==="
Mark McLoughlin f2bd6c
Mark McLoughlin 910c5e
make V=1 %{?_smp_mflags} $buildldflags
Mark McLoughlin ccf76b
cp -a x86_64-softmmu/qemu-system-x86_64 qemu-kvm
Glauber Costa 8571d0
make clean
Mark McLoughlin ccf76b
Mark McLoughlin ccf76b
cd kvm/user
Mark McLoughlin ccf76b
./configure --prefix=%{_prefix} --kerneldir=$(pwd)/../kernel/
Mark McLoughlin ccf76b
make kvmtrace
Mark McLoughlin ccf76b
cd ../../
Glauber Costa 8571d0
%endif
Glauber Costa 8571d0
Matthias Saou e6d232
./configure \
Glauber Costa 8571d0
    --target-list="i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu \
Glauber Costa 8571d0
                mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu \
Glauber Costa 8571d0
                ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu \
Glauber Costa 8571d0
                i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user \
Glauber Costa 8571d0
                armeb-linux-user cris-linux-user m68k-linux-user mips-linux-user \
Glauber Costa 8571d0
                mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user \
Glauber Costa 8571d0
                sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user \
Glauber Costa 8571d0
                sparc32plus-linux-user" \
Matthias Saou e6d232
    --prefix=%{_prefix} \
Matthias Saou e6d232
    --interp-prefix=%{_prefix}/qemu-%%M \
Mark McLoughlin ccf76b
    --audio-drv-list=pa,sdl,alsa,oss \
Glauber Costa 8571d0
    --disable-kvm \
Mark McLoughlin ccf76b
    --disable-strip \
Glauber Costa 0c2ec9
    --extra-ldflags=$extraldflags \
Daniel P. Berrange 308a9a
    --extra-cflags="$RPM_OPT_FLAGS" \
Daniel P. Berrange 308a9a
    --disable-xen
Glauber Costa 0c2ec9
Mark McLoughlin f2bd6c
echo "config-host.mak contents:"
Mark McLoughlin f2bd6c
echo "==="
Mark McLoughlin f2bd6c
cat config-host.mak
Mark McLoughlin f2bd6c
echo "==="
Mark McLoughlin f2bd6c
Mark McLoughlin 92dcc1
make V=1 %{?_smp_mflags} $buildldflags
David Woodhouse 5c3734
David Woodhouse 5c3734
%install
David Woodhouse 5c3734
rm -rf $RPM_BUILD_ROOT
David Woodhouse 5c3734
Glauber Costa 9235f9
%ifarch %{ix86} x86_64
Daniel P. Berrange fc8b74
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules
Glauber Costa 9235f9
mkdir -p $RPM_BUILD_ROOT%{_bindir}/
Mark McLoughlin ccf76b
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
Daniel P. Berrange fc8b74
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
Glauber Costa 9235f9
Daniel P. Berrange fc8b74
install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/modules/kvm.modules
Mark McLoughlin ccf76b
install -m 0755 kvm/user/kvmtrace $RPM_BUILD_ROOT%{_bindir}/
Mark McLoughlin ccf76b
install -m 0755 kvm/user/kvmtrace_format $RPM_BUILD_ROOT%{_bindir}/
Mark McLoughlin ccf76b
install -m 0755 kvm/kvm_stat $RPM_BUILD_ROOT%{_bindir}/
Glauber Costa 4da298
install -m 0755 qemu-kvm $RPM_BUILD_ROOT%{_bindir}/
Mark McLoughlin 6db733
install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d
Glauber Costa 9235f9
%endif
Glauber Costa 9235f9
David Woodhouse 5c3734
make prefix="${RPM_BUILD_ROOT}%{_prefix}" \
Matthias Saou 67348d
     bindir="${RPM_BUILD_ROOT}%{_bindir}" \
Mark McLoughlin ccf76b
     sharedir="${RPM_BUILD_ROOT}%{_datadir}/%{name}" \
Matthias Saou 67348d
     mandir="${RPM_BUILD_ROOT}%{_mandir}" \
Matthias Saou 67348d
     docdir="${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}" \
Mark McLoughlin ccf76b
     datadir="${RPM_BUILD_ROOT}%{_datadir}/%{name}" install
Mark McLoughlin 666df9
chmod -x ${RPM_BUILD_ROOT}%{_mandir}/man1/*
Mark McLoughlin 92dcc1
install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/qemu
Daniel P. Berrange fc8b74
install -D -p -m 0644 -t ${RPM_BUILD_ROOT}%{qemudocdir} Changelog README TODO COPYING COPYING.LIB LICENSE
David Woodhouse 5c3734
Daniel P. Berrange 42af21
install -D -p -m 0644 qemu.sasl $RPM_BUILD_ROOT%{_sysconfdir}/sasl2/qemu.conf
Daniel P. Berrange 42af21
Mark McLoughlin ccf76b
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/pxe*bin
Mark McLoughlin ccf76b
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/vgabios*bin
Mark McLoughlin ccf76b
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/bios.bin
Mark McLoughlin ccf76b
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-ppc
Mark McLoughlin ccf76b
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc32
Mark McLoughlin ccf76b
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/openbios-sparc64
Mark McLoughlin bd50c4
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/%{name}/petalogix-s3adsp1800.dtb
Glauber Costa f0365c
Glauber Costa 247782
# the pxe gpxe images will be symlinks to the images on
Glauber Costa 247782
# /usr/share/gpxe, as QEMU doesn't know how to look
Glauber Costa f0365c
# for other paths, yet.
Glauber Costa f0365c
pxe_link() {
Glauber Costa 247782
  ln -s ../gpxe/$2.rom %{buildroot}%{_datadir}/%{name}/pxe-$1.bin
Glauber Costa f0365c
}
Glauber Costa f0365c
Glauber Costa 247782
pxe_link e1000 e1000-0x100e
Glauber Costa f0365c
pxe_link ne2k_pci ne
Glauber Costa f0365c
pxe_link pcnet pcnet32
Glauber Costa f0365c
pxe_link rtl8139 rtl8139
Glauber Costa f0365c
pxe_link virtio virtio-net
Mark McLoughlin ccf76b
ln -s ../vgabios/VGABIOS-lgpl-latest.bin  %{buildroot}/%{_datadir}/%{name}/vgabios.bin
Mark McLoughlin ccf76b
ln -s ../vgabios/VGABIOS-lgpl-latest.cirrus.bin %{buildroot}/%{_datadir}/%{name}/vgabios-cirrus.bin
Mark McLoughlin ccf76b
ln -s ../bochs/BIOS-bochs-kvm %{buildroot}/%{_datadir}/%{name}/bios.bin
Mark McLoughlin ccf76b
ln -s ../openbios/openbios-ppc %{buildroot}/%{_datadir}/%{name}/openbios-ppc
Mark McLoughlin ccf76b
ln -s ../openbios/openbios-sparc32 %{buildroot}/%{_datadir}/%{name}/openbios-sparc32
Mark McLoughlin ccf76b
ln -s ../openbios/openbios-sparc64 %{buildroot}/%{_datadir}/%{name}/openbios-sparc64
Glauber Costa 4da298
David Woodhouse 5c3734
%clean
David Woodhouse 5c3734
rm -rf $RPM_BUILD_ROOT
David Woodhouse 5c3734
Glauber Costa 8571d0
%post system-x86
Mark McLoughlin 1a5888
%ifarch %{ix86} x86_64
Glauber Costa 8571d0
# load kvm modules now, so we can make sure no reboot is needed.
Glauber Costa 8571d0
# If there's already a kvm module installed, we don't mess with it
Daniel P. Berrange fc8b74
sh %{_sysconfdir}/sysconfig/modules/kvm.modules
Glauber Costa 8571d0
%endif
Glauber Costa 8571d0
Glauber Costa d56efc
%post user
David Woodhouse 5c3734
/sbin/chkconfig --add qemu
David Woodhouse 5c3734
Glauber Costa d56efc
%preun user
Matthias Saou 67348d
if [ $1 -eq 0 ]; then
Matthias Saou 67348d
    /sbin/service qemu stop &>/dev/null || :
Matthias Saou 67348d
    /sbin/chkconfig --del qemu
Matthias Saou 67348d
fi
Matthias Saou 67348d
Glauber Costa d56efc
%postun user
Matthias Saou 67348d
if [ $1 -ge 1 ]; then
Matthias Saou 67348d
    /sbin/service qemu condrestart &>/dev/null || :
David Woodhouse 5c3734
fi
David Woodhouse 5c3734
Daniel P. Berrange 308a9a
%post common
Daniel P. Berrange 308a9a
getent group kvm >/dev/null || groupadd -g 36 -r kvm
Daniel P. Berrange 308a9a
getent group qemu >/dev/null || groupadd -g 107 -r qemu
Daniel P. Berrange 308a9a
getent passwd qemu >/dev/null || \
Daniel P. Berrange 308a9a
  useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
Daniel P. Berrange 308a9a
    -c "qemu user" qemu
Daniel P. Berrange 308a9a
Glauber Costa 485711
%files 
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
Mark McLoughlin f2160a
%files kvm
Mark McLoughlin f2160a
%defattr(-,root,root)
Mark McLoughlin f2160a
Glauber Costa 485711
%files common
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%doc %{qemudocdir}/Changelog
Glauber Costa 485711
%doc %{qemudocdir}/README
Glauber Costa 485711
%doc %{qemudocdir}/TODO
Glauber Costa 485711
%doc %{qemudocdir}/qemu-doc.html 
Glauber Costa 485711
%doc %{qemudocdir}/qemu-tech.html
Glauber Costa 485711
%doc %{qemudocdir}/COPYING 
Glauber Costa 485711
%doc %{qemudocdir}/COPYING.LIB 
Glauber Costa 485711
%doc %{qemudocdir}/LICENSE
Mark McLoughlin ccf76b
%dir %{_datadir}/%{name}/
Mark McLoughlin ccf76b
%{_datadir}/%{name}/keymaps/
Mark McLoughlin 666df9
%{_mandir}/man1/qemu.1*
Mark McLoughlin 666df9
%{_mandir}/man8/qemu-nbd.8*
Glauber Costa 485711
%{_bindir}/qemu-nbd
Daniel P. Berrange 42af21
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
Glauber Costa 485711
%files user
David Woodhouse 5c3734
%defattr(-,root,root)
Daniel P. Berrange e62519
%{_sysconfdir}/rc.d/init.d/qemu
Daniel P. Berrange b4adff
%{_bindir}/qemu-alpha
Daniel P. Berrange 36ffed
%{_bindir}/qemu-arm
Daniel P. Berrange 36ffed
%{_bindir}/qemu-armeb
Daniel P. Berrange b4adff
%{_bindir}/qemu-cris
Daniel P. Berrange 36ffed
%{_bindir}/qemu-i386
Glauber Costa 485711
%{_bindir}/qemu-x86_64
Daniel P. Berrange 36ffed
%{_bindir}/qemu-m68k
Daniel P. Berrange 36ffed
%{_bindir}/qemu-mips
Daniel P. Berrange 36ffed
%{_bindir}/qemu-mipsel
Daniel P. Berrange 36ffed
%{_bindir}/qemu-ppc
Daniel P. Berrange b4adff
%{_bindir}/qemu-ppc64
Daniel P. Berrange b4adff
%{_bindir}/qemu-ppc64abi32
Daniel P. Berrange b4adff
%{_bindir}/qemu-sh4
Daniel P. Berrange b4adff
%{_bindir}/qemu-sh4eb
Daniel P. Berrange 36ffed
%{_bindir}/qemu-sparc
Daniel P. Berrange b4adff
%{_bindir}/qemu-sparc64
Glauber Costa 485711
%{_bindir}/qemu-sparc32plus
Glauber Costa 485711
%files system-x86
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%{_bindir}/qemu
Glauber Costa 485711
%{_bindir}/qemu-system-x86_64
Mark McLoughlin ccf76b
%{_datadir}/%{name}/bios.bin
Mark McLoughlin f2bd6c
%{_datadir}/%{name}/multiboot.bin
Mark McLoughlin ccf76b
%{_datadir}/%{name}/vgabios.bin
Mark McLoughlin ccf76b
%{_datadir}/%{name}/vgabios-cirrus.bin
Mark McLoughlin ccf76b
%{_datadir}/%{name}/pxe-e1000.bin
Mark McLoughlin ccf76b
%{_datadir}/%{name}/pxe-virtio.bin
Mark McLoughlin ccf76b
%{_datadir}/%{name}/pxe-pcnet.bin
Mark McLoughlin ccf76b
%{_datadir}/%{name}/pxe-rtl8139.bin
Mark McLoughlin ccf76b
%{_datadir}/%{name}/pxe-ne2k_pci.bin
Glauber Costa 8571d0
%ifarch %{ix86} x86_64
Mark McLoughlin ccf76b
%{_datadir}/%{name}/extboot.bin
Glauber Costa 8571d0
%{_bindir}/qemu-kvm
Glauber Costa 8571d0
%{_sysconfdir}/sysconfig/modules/kvm.modules
Daniel P. Berrange fc8b74
%{_sysconfdir}/udev/rules.d/80-kvm.rules
Glauber Costa 0f3f16
%files kvm-tools
Glauber Costa 0f3f16
%defattr(-,root,root,-)
Glauber Costa 0f3f16
%{_bindir}/kvmtrace
Glauber Costa 0f3f16
%{_bindir}/kvmtrace_format
Glauber Costa 0f3f16
%{_bindir}/kvm_stat
Glauber Costa 8571d0
%endif
Glauber Costa 485711
%files system-sparc
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%{_bindir}/qemu-system-sparc
Mark McLoughlin ccf76b
%{_datadir}/%{name}/openbios-sparc32
Mark McLoughlin ccf76b
%{_datadir}/%{name}/openbios-sparc64
Glauber Costa 485711
%files system-arm
Glauber Costa 485711
%defattr(-,root,root)
Daniel P. Berrange 36ffed
%{_bindir}/qemu-system-arm
Glauber Costa 485711
%files system-mips
Glauber Costa 485711
%defattr(-,root,root)
Daniel P. Berrange 36ffed
%{_bindir}/qemu-system-mips
Daniel P. Berrange 36ffed
%{_bindir}/qemu-system-mipsel
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-mips64
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-mips64el
Glauber Costa 485711
%files system-ppc
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%{_bindir}/qemu-system-ppc
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-ppc64
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-ppcemb
Mark McLoughlin ccf76b
%{_datadir}/%{name}/openbios-ppc
Mark McLoughlin ccf76b
%{_datadir}/%{name}/video.x
Mark McLoughlin ccf76b
%{_datadir}/%{name}/bamboo.dtb
Mark McLoughlin ccf76b
%{_datadir}/%{name}/ppc_rom.bin
Glauber Costa 485711
%files system-cris
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%{_bindir}/qemu-system-cris
Glauber Costa 485711
%files system-m68k
Glauber Costa 485711
%defattr(-,root,root)
Glauber Costa 485711
%{_bindir}/qemu-system-m68k
Glauber Costa 485711
%files system-sh4
Glauber Costa 485711
%defattr(-,root,root)
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-sh4
Daniel P. Berrange b4adff
%{_bindir}/qemu-system-sh4eb
Daniel P. Berrange 36ffed
Daniel P. Berrange 36ffed
%files img
Daniel P. Berrange 36ffed
%defattr(-,root,root)
Daniel P. Berrange 36ffed
%{_bindir}/qemu-img
Mark McLoughlin 92dcc1
%{_bindir}/qemu-io
Mark McLoughlin 666df9
%{_mandir}/man1/qemu-img.1*
David Woodhouse 5c3734
David Woodhouse 5c3734
%changelog
Richard W.M. Jones 9d0bd0
* Thu Aug 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2:0.10.91-0.8.rc1
Richard W.M. Jones 9d0bd0
- Fix segfault when qemu-kvm is invoked inside a VM (#516543)
Richard W.M. Jones 9d0bd0
Mark McLoughlin 6db733
* Tue Aug 18 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.7.rc1
Mark McLoughlin 6db733
- Fix permissions on udev rules (#517571)
Mark McLoughlin 6db733
Lubomir Rintel baac61
* Mon Aug 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 2:0.10.91-0.6.rc1
Mark McLoughlin 6db733
- Allow blacklisting of kvm modules (#517866)
Lubomir Rintel baac61
Mark McLoughlin 0c2ae8
* Fri Aug  7 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.5.rc1
Mark McLoughlin 0c2ae8
- Fix virtio_net with -net user (#516022)
Mark McLoughlin 0c2ae8
Mark McLoughlin dc170b
* Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.4.rc1
Mark McLoughlin dc170b
- Update to qemu-kvm-0.11-rc1; no changes from rc1-rc0
Mark McLoughlin dc170b
Mark McLoughlin f4d6ad
* Tue Aug  4 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.3.rc1.rc0
Mark McLoughlin f4d6ad
- Fix extboot checksum (bug #514899)
Mark McLoughlin f4d6ad
Mark McLoughlin fc7c34
* Fri Jul 31 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.2.rc1.rc0
Mark McLoughlin fc7c34
- Add KSM support
Mark McLoughlin fc7c34
- Require bochs-bios >= 2.3.8-0.8 for latest kvm bios updates
Mark McLoughlin fc7c34
Mark McLoughlin ddfcbf
* Thu Jul 30 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.91-0.1.rc1.rc0
Mark McLoughlin ddfcbf
- Update to qemu-kvm-0.11.0-rc1-rc0
Mark McLoughlin ddfcbf
- This is a pre-release of the official -rc1
Mark McLoughlin ddfcbf
- A vista installer regression is blocking the official -rc1 release
Mark McLoughlin ddfcbf
- Drop qemu-prefer-sysfs-for-usb-host-devices.patch
Mark McLoughlin ddfcbf
- Drop qemu-fix-build-for-esd-audio.patch
Mark McLoughlin ddfcbf
- Drop qemu-slirp-Fix-guestfwd-for-incoming-data.patch
Mark McLoughlin ddfcbf
- Add patch to ensure extboot.bin is installed
Mark McLoughlin ddfcbf
Jesse Keating 0344cf
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:0.10.50-14.kvm88
Jesse Keating 0344cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating 0344cf
Glauber Costa 5e6fc5
* Thu Jul 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-13.kvm88
Glauber Costa 5e6fc5
- Fix bug 513249, -net channel option is broken
Glauber Costa 5e6fc5
Daniel P. Berrange 308a9a
* Thu Jul 16 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.10.50-12.kvm88
Daniel P. Berrange 308a9a
- Add 'qemu' user and group accounts
Daniel P. Berrange 308a9a
- Force disable xen until it can be made to build
Daniel P. Berrange 308a9a
Mark McLoughlin a8abd8
* Thu Jul 16 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-11.kvm88
Mark McLoughlin a8abd8
- Update to kvm-88, see http://www.linux-kvm.org/page/ChangeLog
Mark McLoughlin a8abd8
- Package mutiboot.bin
Mark McLoughlin a8abd8
- Update for how extboot is built
Mark McLoughlin a8abd8
- Fix sf.net source URL
Mark McLoughlin a8abd8
- Drop qemu-fix-ppc-softmmu-kvm-disabled-build.patch
Mark McLoughlin a8abd8
- Drop qemu-fix-pcspk-build-with-kvm-disabled.patch
Mark McLoughlin a8abd8
- Cherry-pick fix for esound support build failure
Mark McLoughlin a8abd8
Daniel P. Berrange fc8b74
* Wed Jul 15 2009 Daniel Berrange <berrange@lettuce.camlab.fab.redhat.com> - 2:0.10.50-10.kvm87
Daniel P. Berrange fc8b74
- Add udev rules to make /dev/kvm world accessible & group=kvm (rhbz #497341)
Daniel P. Berrange fc8b74
- Create a kvm group if it doesn't exist (rhbz #346151)
Daniel P. Berrange fc8b74
Glauber Costa 247782
* Tue Jul 07 2009 Glauber Costa <glommer@redhat.com> - 2:0.10.50-9.kvm87
Glauber Costa 247782
- use pxe roms from gpxe, instead of etherboot package.
Glauber Costa 247782
Mark McLoughlin 995446
* Fri Jul  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-8.kvm87
Mark McLoughlin 995446
- Prefer sysfs over usbfs for usb passthrough (#508326)
Mark McLoughlin 995446
Mark McLoughlin 997cc5
* Sat Jun 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-7.kvm87
Mark McLoughlin 997cc5
- Update to kvm-87
Mark McLoughlin 997cc5
- Drop upstreamed patches
Mark McLoughlin bc0345
- Cherry-pick new ppc build fix from upstream
Mark McLoughlin 98d891
- Work around broken linux-user build on ppc
Mark McLoughlin d298fd
- Fix hw/pcspk.c build with --disable-kvm
Mark McLoughlin 997cc5
- Re-enable preadv()/pwritev() since #497429 is long since fixed
Mark McLoughlin bd50c4
- Kill petalogix-s3adsp1800.dtb, since we don't ship the microblaze target
Mark McLoughlin 997cc5
Mark McLoughlin 62fb37
* Fri Jun  5 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-6.kvm86
Mark McLoughlin 62fb37
- Fix 'kernel requires an x86-64 CPU' error
Mark McLoughlin 62fb37
- BuildRequires ncurses-devel to enable '-curses' option (#504226)
Mark McLoughlin 62fb37
Mark McLoughlin e37615
* Wed Jun  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-5.kvm86
Mark McLoughlin e37615
- Prevent locked cdrom eject - fixes hang at end of anaconda installs (#501412)
Mark McLoughlin e37615
- Avoid harmless 'unhandled wrmsr' warnings (#499712)
Mark McLoughlin e37615
Mark McLoughlin 666df9
* Thu May 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-4.kvm86
Mark McLoughlin ccf76b
- Update to kvm-86 release
Mark McLoughlin ccf76b
- ChangeLog here: http://marc.info/?l=kvm&m=124282885729710
Mark McLoughlin ccf76b
Mark McLoughlin f2160a
* Fri May  1 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-3.kvm85
Mark McLoughlin f2160a
- Really provide qemu-kvm as a metapackage for comps
Mark McLoughlin f2160a
Mark McLoughlin d7d988
* Tue Apr 28 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-2.kvm85
Mark McLoughlin d7d988
- Provide qemu-kvm as a metapackage for comps
Mark McLoughlin d7d988
Mark McLoughlin 92dcc1
* Mon Apr 27 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10.50-1.kvm85
Mark McLoughlin 92dcc1
- Update to qemu-kvm-devel-85
Mark McLoughlin 92dcc1
- kvm-85 is based on qemu development branch, currently version 0.10.50
Mark McLoughlin 92dcc1
- Include new qemu-io utility in qemu-img package
Mark McLoughlin 92dcc1
- Re-instate -help string for boot=on to fix virtio booting with libvirt
Mark McLoughlin 92dcc1
- Drop upstreamed patches
Mark McLoughlin 92dcc1
- Fix missing kernel/include/asm symlink in upstream tarball
Mark McLoughlin 92dcc1
- Fix target-arm build
Mark McLoughlin 7701e0
- Fix build on ppc
Mark McLoughlin 92dcc1
- Disable preadv()/pwritev() until bug #497429 is fixed
Mark McLoughlin 92dcc1
- Kill more .kernelrelease uselessness
Mark McLoughlin 92dcc1
- Make non-kvm qemu build verbose
Mark McLoughlin 92dcc1
Mark McLoughlin 171644
* Fri Apr 24 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-15
Mark McLoughlin 171644
- Fix source numbering typos caused by make-release addition
Mark McLoughlin 171644
Mark McLoughlin 6694af
* Thu Apr 23 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-14
Mark McLoughlin 6694af
- Improve instructions for generating the tarball
Mark McLoughlin 6694af
Mark McLoughlin 6d887b
* Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-13
Mark McLoughlin 6d887b
- Enable pulseaudio driver to fix qemu lockup at shutdown (#495964)
Mark McLoughlin 6d887b
Mark McLoughlin e1eede
* Tue Apr 21 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-12
Mark McLoughlin e1eede
- Another qcow2 image corruption fix (#496642)
Mark McLoughlin e1eede
Mark McLoughlin 35588f
* Mon Apr 20 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-11
Mark McLoughlin 35588f
- Fix qcow2 image corruption (#496642)
Mark McLoughlin 35588f
Mark McLoughlin 1a5888
* Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-10
Mark McLoughlin 1a5888
- Run sysconfig.modules from %post on x86_64 too (#494739)
Mark McLoughlin 1a5888
Mark McLoughlin 513689
* Sun Apr 19 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-9
Mark McLoughlin 513689
- Align VGA ROM to 4k boundary - fixes 'qemu-kvm -std vga' (#494376)
Mark McLoughlin 513689
Glauber Costa 52ac18
* Tue Apr  14 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-8
Glauber Costa 52ac18
- Provide qemu-kvm conditional on the architecture.
Glauber Costa 52ac18
Mark McLoughlin 3dcd9a
* Thu Apr  9 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-7
Mark McLoughlin 3dcd9a
- Add a much cleaner fix for vga segfault (#494002)
Mark McLoughlin 3dcd9a
Glauber Costa 3b0756
* Sun Apr  5 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-6
Glauber Costa 3b0756
- Fixed qcow2 segfault creating disks over 2TB. #491943
Glauber Costa 3b0756
Mark McLoughlin 910c5e
* Fri Apr  3 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-5
Mark McLoughlin 910c5e
- Fix vga segfault under kvm-autotest (#494002)
Mark McLoughlin 910c5e
- Kill kernelrelease hack; it's not needed
Mark McLoughlin 910c5e
- Build with "make V=1" for more verbose logs
Mark McLoughlin 910c5e
Glauber Costa 3afbf0
* Thu Apr 02 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-4
Glauber Costa 3afbf0
- Support botting gpxe roms.
Glauber Costa 3afbf0
Glauber Costa 0b5d26
* Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-2
Glauber Costa 0b5d26
- added missing patch. love for CVS.
Glauber Costa 0b5d26
Glauber Costa 47b075
* Wed Apr 01 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-1
Glauber Costa 47b075
- Include debuginfo for qemu-img
Glauber Costa 47b075
- Do not require qemu-common for qemu-img
Glauber Costa 47b075
- Explicitly own each of the firmware files
Glauber Costa 47b075
- remove firmwares for ppc and sparc. They should be provided by an external package.
Glauber Costa 47b075
  Not that the packages exists for sparc in the secondary arch repo as noarch, but they
Glauber Costa 47b075
  don't automatically get into main repos. Unfortunately it's the best we can do right
Glauber Costa 47b075
  now.
Glauber Costa 47b075
- rollback a bit in time. Snapshot from avi's maint/2.6.30
Glauber Costa 47b075
  - this requires the sasl patches to come back.
Glauber Costa 47b075
  - with-patched-kernel comes back.
Glauber Costa 47b075
Mark McLoughlin 9a6ed3
* Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2:0.10-0.12.kvm20090323git
Mark McLoughlin 9a6ed3
- BuildRequires pciutils-devel for device assignment (#492076)
Mark McLoughlin 9a6ed3
Glauber Costa 9e9690
* Mon Mar 23 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.11.kvm20090323git
Glauber Costa 9e9690
- Update to snapshot kvm20090323.
Glauber Costa 9e9690
- Removed patch2 (upstream).
Glauber Costa 9e9690
- use upstream's new split package.
Glauber Costa 9e9690
- --with-patched-kernel flag not needed anymore
Glauber Costa 9e9690
- Tell how to get the sources.
Glauber Costa 9e9690
Glauber Costa a2460b
* Wed Mar 18 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.10.kvm20090310git
Glauber Costa a2460b
- Added extboot to files list.
Glauber Costa a2460b
Glauber Costa 5b0b64
* Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.9.kvm20090310git
Glauber Costa 5b0b64
- Fix wrong reference to bochs bios.
Glauber Costa 5b0b64
Glauber Costa 0c2ec9
* Wed Mar 11 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.8.kvm20090310git
Glauber Costa 0c2ec9
- fix Obsolete/Provides pair
Glauber Costa 0c2ec9
- Use kvm bios from bochs-bios package.
Glauber Costa 0c2ec9
- Using RPM_OPT_FLAGS in configure
Glauber Costa 0c2ec9
- Picked back audio-drv-list from kvm package
Glauber Costa 0c2ec9
Glauber Costa 206c78
* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.7.kvm20090310git
Glauber Costa 206c78
- modify ppc patch
Glauber Costa 206c78
Glauber Costa 31b341
* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.6.kvm20090310git
Glauber Costa 31b341
- updated to kvm20090310git
Glauber Costa 31b341
- removed sasl patches (already in this release)
Glauber Costa 31b341
Glauber Costa 4da298
* Tue Mar 10 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.5.kvm20090303git
Glauber Costa 4da298
- kvm.modules were being wrongly mentioned at %%install.
Glauber Costa 4da298
- update description for the x86 system package to include kvm support
Glauber Costa 4da298
- build kvm's own bios. It is still necessary while kvm uses a slightly different
Glauber Costa 4da298
  irq routing mechanism
Glauber Costa e41549
Glauber Costa b9aebd
* Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.4.kvm20090303git
Glauber Costa b9aebd
- seems Epoch does not go into the tags. So start back here.
Glauber Costa b9aebd
Glauber Costa e0f4cd
* Thu Mar 05 2009 Glauber Costa <glommer@redhat.com> - 2:0.10-0.1.kvm20090303git
Glauber Costa e0f4cd
- Use bochs-bios instead of bochs-bios-data
Glauber Costa e0f4cd
- It's official: upstream set on 0.10
Glauber Costa e0f4cd
Daniel P. Berrange 913ab9
* Thu Mar  5 2009 Daniel P. Berrange <berrange@redhat.com> - 2:0.9.2-0.2.kvm20090303git
Daniel P. Berrange 913ab9
- Added BSD to license list, since many files are covered by BSD
Daniel P. Berrange 913ab9
Glauber Costa 420de0
* Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.9.2-0.1.kvm20090303git
Glauber Costa 420de0
- missing a dot. shame on me
Glauber Costa 420de0
Glauber Costa 9235f9
* Wed Mar 04 2009 Glauber Costa <glommer@redhat.com> - 0.92-0.1.kvm20090303git
Glauber Costa 9235f9
- Set Epoch to 2
Glauber Costa 9235f9
- Set version to 0.92. It seems upstream keep changing minds here, so pick the lowest
Glauber Costa 9235f9
- Provides KVM, Obsoletes KVM
Glauber Costa 9235f9
- Only install qemu-kvm in ix86 and x86_64
Glauber Costa 9235f9
- Remove pkgdesc macros, as they were generating bogus output for rpm -qi.
Glauber Costa 9235f9
- fix ppc and ppc64 builds
Glauber Costa 9235f9
Glauber Costa d56efc
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.3.kvm20090303git
Glauber Costa d56efc
- only execute post scripts for user package.
Glauber Costa 0f3f16
- added kvm tools.
Glauber Costa d56efc
Glauber Costa b8bea8
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.2.kvm20090303git
Glauber Costa b8bea8
- put kvm.modules into cvs
Glauber Costa b8bea8
Glauber Costa 8571d0
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 0.10-0.1.kvm20090303git
Glauber Costa 8571d0
- Set Epoch to 1
Glauber Costa 8571d0
- Build KVM (basic build, no tools yet)
Glauber Costa 8571d0
- Set ppc in ExcludeArch. This is temporary, just to fix one issue at a time.
Glauber Costa 8571d0
  ppc users (IBM ? ;-)) please wait a little bit.
Glauber Costa 8571d0
Daniel P. Berrange 42af21
* Tue Mar  3 2009 Daniel P. Berrange <berrange@redhat.com> - 1.0-0.5.svn6666
Daniel P. Berrange 42af21
- Support VNC SASL authentication protocol
Daniel P. Berrange 42af21
- Fix dep on bochs-bios-data
Daniel P. Berrange 42af21
Glauber Costa f97a70
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.4.svn6666
Glauber Costa f97a70
- use bios from bochs-bios package.
Glauber Costa f97a70
Glauber Costa 3e01e7
* Tue Mar 03 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.3.svn6666
Glauber Costa 3e01e7
- use vgabios from vgabios package.
Glauber Costa 3e01e7
Glauber Costa f0365c
* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.2.svn6666
Glauber Costa f0365c
- use pxe roms from etherboot package.
Glauber Costa f0365c
Glauber Costa 485711
* Mon Mar 02 2009 Glauber Costa <glommer@redhat.com> - 1.0-0.1.svn6666
Glauber Costa 485711
- Updated to tip svn (release 6666). Featuring split packages for qemu.
Glauber Costa 485711
  Unfortunately, still using binary blobs for the bioses.
Glauber Costa 485711
Jesse Keating c6f944
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13
Jesse Keating c6f944
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating c6f944
Debarshi Ray ff9191
* Sun Jan 11 2009 Debarshi Ray <rishi@fedoraproject.org> - 0.9.1-12
Debarshi Ray ff9191
- Updated build patch. Closes Red Hat Bugzilla bug #465041.
Debarshi Ray ff9191
Dennis Gilmore 1cd90b
* Wed Dec 31 2008 Dennis Gilmore <dennis@ausil.us> - 0.9.1-11
Dennis Gilmore 1cd90b
- add sparcv9 and sparc64 support
Dennis Gilmore 1cd90b
Bill Nottingham a7289f
* Fri Jul 25 2008 Bill Nottingham <notting@redhat.com>
Bill Nottingham a7289f
- Fix qemu-img summary (#456344)
Bill Nottingham a7289f
Daniel P. Berrange 549de8
* Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-10.fc10
Daniel P. Berrange 549de8
- Rebuild for GNU TLS ABI change
Daniel P. Berrange 549de8
Daniel P. Berrange b4adff
* Wed Jun 11 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-9.fc10
Daniel P. Berrange b4adff
- Remove bogus wildcard from files list (rhbz #450701)
Daniel P. Berrange b4adff
Lubomir Rintel 4c8582
* Sat May 17 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.9.1-8
Lubomir Rintel 4c8582
- Register binary handlers also for shared libraries
Lubomir Rintel 4c8582
Daniel P. Berrange a1020f
* Mon May  5 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-7.fc10
Daniel P. Berrange a1020f
- Fix text console PTYs to be in rawmode
Daniel P. Berrange a1020f
Lubomir Rintel d0fefc
* Sun Apr 27 2008 Lubomir Kundrak <lkundrak@redhat.com> - 0.9.1-6
Lubomir Rintel d0fefc
- Register binary handler for SuperH-4 CPU
Lubomir Rintel d0fefc
Daniel P. Berrange 36ffed
* Wed Mar 19 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-5.fc9
Daniel P. Berrange 36ffed
- Split qemu-img tool into sub-package for smaller footprint installs
Daniel P. Berrange 36ffed
Daniel P. Berrange 0778a1
* Wed Feb 27 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-4.fc9
Daniel P. Berrange 0778a1
- Fix block device checks for extendable disk formats (rhbz #435139)
Daniel P. Berrange 0778a1
Daniel P. Berrange 0778a1
* Sat Feb 23 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-3.fc9
Daniel P. Berrange b80713
- Fix block device extents check (rhbz #433560)
Daniel P. Berrange b80713
Jesse Keating 609577
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-2
Jesse Keating 609577
- Autorebuild for GCC 4.3
Jesse Keating 609577
Daniel P. Berrange e62519
* Tue Jan  8 2008 Daniel P. Berrange <berrange@redhat.com> - 0.9.1-1.fc9
Daniel P. Berrange e62519
- Updated to 0.9.1 release
Daniel P. Berrange e62519
- Fix license tag syntax
Daniel P. Berrange e62519
- Don't mark init script as a config file
Daniel P. Berrange e62519
Daniel P. Berrange f4a1bb
* Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-5.fc8
Daniel P. Berrange f4a1bb
- Fix rtl8139 checksum calculation for Vista (rhbz #308201)
Daniel P. Berrange f4a1bb
Daniel P. Berrange 4ecadb
* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-4.fc8
Daniel P. Berrange 4ecadb
- Fix debuginfo by passing -Wl,--build-id to linker
Daniel P. Berrange 4ecadb
David Woodhouse e415ab
* Tue Aug 28 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-4
David Woodhouse e415ab
- Update licence
David Woodhouse e415ab
- Fix CDROM emulation (#253542)
David Woodhouse e415ab
Daniel P. Berrange 304b40
* Tue Aug 28 2007 Daniel P. Berrange <berrange@redhat.com> - 0.9.0-3.fc8
Daniel P. Berrange 304b40
- Added backport of VNC password auth, and TLS+x509 cert auth
Daniel P. Berrange 304b40
- Switch to rtl8139 NIC by default for linkstate reporting
Daniel P. Berrange 304b40
- Fix rtl8139 mmio region mappings with multiple NICs
Daniel P. Berrange 304b40
Hans de Goede 76b47e
* Sun Apr  1 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9.0-2
Hans de Goede 76b47e
- Fix direct loading of a linux kernel with -kernel & -initrd (bz 234681)
Hans de Goede 76b47e
- Remove spurious execute bits from manpages (bz 222573)
Hans de Goede 76b47e
David Woodhouse 4cf268
* Tue Feb  6 2007 David Woodhouse <dwmw2@infradead.org> 0.9.0-1
David Woodhouse 4cf268
- Update to 0.9.0
David Woodhouse 4cf268
David Woodhouse f57922
* Wed Jan 31 2007 David Woodhouse <dwmw2@infradead.org> 0.8.2-5
David Woodhouse f57922
- Include licences
David Woodhouse f57922
Hans de Goede 019db4
* Mon Nov 13 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 0.8.2-4
Hans de Goede 019db4
- Backport patch to make FC6 guests work by Kevin Kofler
Hans de Goede 019db4
  <Kevin@tigcc.ticalc.org> (bz 207843).
Hans de Goede 019db4
David Woodhouse f6b93b
* Mon Sep 11 2006 David Woodhouse <dwmw2@infradead.org> 0.8.2-3
David Woodhouse f6b93b
- Rebuild
David Woodhouse f6b93b
Matthias Saou e6d232
* Thu Aug 24 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-2
Matthias Saou e6d232
- Remove the target-list iteration for x86_64 since they all build again.
Matthias Saou e6d232
- Make gcc32 vs. gcc34 conditional on %%{fedora} to share the same spec for
Matthias Saou e6d232
  FC5 and FC6.
Matthias Saou e6d232
Matthias Saou 67348d
* Wed Aug 23 2006 Matthias Saou <http://freshrpms.net/> 0.8.2-1
Matthias Saou 67348d
- Update to 0.8.2 (#200065).
Matthias Saou 67348d
- Drop upstreamed syscall-macros patch2.
Matthias Saou 67348d
- Put correct scriplet dependencies.
Matthias Saou 67348d
- Force install mode for the init script to avoid umask problems.
Matthias Saou 67348d
- Add %%postun condrestart for changes to the init script to be applied if any.
Matthias Saou 67348d
- Update description with the latest "about" from the web page (more current).
Matthias Saou 67348d
- Update URL to qemu.org one like the Source.
Matthias Saou 67348d
- Add which build requirement.
Matthias Saou 67348d
- Don't include texi files in %%doc since we ship them in html.
Matthias Saou 01139d
- Switch to using gcc34 on devel, FC5 still has gcc32.
Matthias Saou 5d0953
- Add kernheaders patch to fix linux/compiler.h inclusion.
Matthias Saou 5c9bd8
- Add target-sparc patch to fix compiling on ppc (some int32 to float).
Matthias Saou 67348d
David Woodhouse 1ca927
* Thu Jun  8 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-3
David Woodhouse 1ca927
- More header abuse in modify_ldt(), change BuildRoot:
David Woodhouse 1ca927
David Woodhouse 1ca927
* Wed Jun  7 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-2
David Woodhouse fb30f3
- Fix up kernel header abuse
David Woodhouse fb30f3
David Woodhouse 7b2bfb
* Tue May 30 2006 David Woodhouse <dwmw2@infradead.org> 0.8.1-1
David Woodhouse 7b2bfb
- Update to 0.8.1
David Woodhouse 7b2bfb
David Woodhouse 943292
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-6
David Woodhouse 943292
- Update linker script for PPC
David Woodhouse 943292
David Woodhouse 943292
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-5
David Woodhouse 943292
- Just drop $RPM_OPT_FLAGS. They're too much of a PITA
David Woodhouse 943292
David Woodhouse 943292
* Sat Mar 18 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-4
David Woodhouse 943292
- Disable stack-protector options which gcc 3.2 doesn't like
David Woodhouse 943292
David Woodhouse 9f8ef0
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-3
David Woodhouse 9f8ef0
- Use -mcpu= instead of -mtune= on x86_64 too
David Woodhouse 9f8ef0
- Disable SPARC targets on x86_64, because dyngen doesn't like fnegs
David Woodhouse 9f8ef0
David Woodhouse bf4430
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-2
David Woodhouse bf4430
- Don't use -mtune=pentium4 on i386. GCC 3.2 doesn't like it
David Woodhouse bf4430
David Woodhouse a08e53
* Fri Mar 17 2006 David Woodhouse <dwmw2@infradead.org> 0.8.0-1
David Woodhouse a08e53
- Update to 0.8.0
David Woodhouse a08e53
- Resort to using compat-gcc-32
David Woodhouse a08e53
- Enable ALSA
David Woodhouse a08e53
David Woodhouse a08e53
* Mon May 16 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-2
David Woodhouse 66db2b
- Proper fix for GCC 4 putting 'blr' or 'ret' in the middle of the function,
David Woodhouse 66db2b
  for i386, x86_64 and PPC.
David Woodhouse 66db2b
David Woodhouse a08e53
* Sat Apr 30 2005 David Woodhouse <dwmw2@infradead.org> 0.7.0-1
David Woodhouse 9b980e
- Update to 0.7.0
David Woodhouse 9b980e
- Fix dyngen for PPC functions which end in unconditional branch
David Woodhouse 9b980e
Michael Schwendt e4c605
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
Michael Schwendt e4c605
- rebuilt
Michael Schwendt e4c605
David Woodhouse c8e4b3
* Sun Feb 13 2005 David Woodhouse <dwmw2@infradead.org> 0.6.1-2
David Woodhouse c8e4b3
- Package cleanup
David Woodhouse c8e4b3
David Woodhouse 5c3734
* Sun Nov 21 2004 David Woodhouse <dwmw2@redhat.com> 0.6.1-1
David Woodhouse 5c3734
- Update to 0.6.1
David Woodhouse 5c3734
David Woodhouse 5c3734
* Tue Jul 20 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-2
David Woodhouse 5c3734
- Compile fix from qemu CVS, add x86_64 host support
David Woodhouse 5c3734
David Woodhouse 5c3734
* Mon May 12 2004 David Woodhouse <dwmw2@redhat.com> 0.6.0-1
David Woodhouse 5c3734
- Update to 0.6.0.
David Woodhouse 5c3734
David Woodhouse 5c3734
* Sat May 8 2004 David Woodhouse <dwmw2@redhat.com> 0.5.5-1
David Woodhouse 5c3734
- Update to 0.5.5.
David Woodhouse 5c3734
David Woodhouse 5c3734
* Thu May 2 2004 David Woodhouse <dwmw2@redhat.com> 0.5.4-1
David Woodhouse 5c3734
- Update to 0.5.4.
David Woodhouse 5c3734
David Woodhouse 5c3734
* Thu Apr 22 2004 David Woodhouse <dwmw2@redhat.com> 0.5.3-1
David Woodhouse 5c3734
- Update to 0.5.3. Add init script.
David Woodhouse 5c3734
David Woodhouse 5c3734
* Thu Jul 17 2003 Jeff Johnson <jbj@redhat.com> 0.4.3-1
David Woodhouse 5c3734
- Create.