# TODO:
# - merge missing bits from qemu-kvm
-# - --enable-glusterfs when glusterfs 3.4 is out
# - qemu-system-ppc -hda ac-ppc.img says:
# qemu: could not open disk image ac-ppc.img: error "Success"
# qemu-0.12.2-2.x86_64.rpm - broken
%bcond_without sdl # SDL UI and audio support
%bcond_without glx # OpenGL/GLX support
%bcond_without ceph # Ceph/RBD support
-%bcond_with glusterfs # GlusterFS backend
+%bcond_without glusterfs # GlusterFS backend
+%bcond_without rdma # RDMA-based migration support
%bcond_with gtk2 # GTK+ 2.x instead of 3.x
%bcond_without spice # SPICE support
%bcond_with esd # EsounD audio support
Summary: QEMU CPU Emulator
Summary(pl.UTF-8): QEMU - emulator procesora
Name: qemu
-Version: 1.5.0
+Version: 1.6.1
Release: 1
License: GPL v2+
Group: Applications/Emulators
Source0: http://wiki.qemu-project.org/download/%{name}-%{version}.tar.bz2
-# Source0-md5: b6f3265b8ed39d77e8f354f35cc26e16
+# Source0-md5: 3a897d722457c5a895cd6ac79a28fda0
Patch0: %{name}-cflags.patch
Patch1: vgabios-widescreens.patch
Patch2: %{name}-whitelist.patch
BuildRequires: libcap-devel
BuildRequires: libcap-ng-devel
BuildRequires: libfdt-devel
+%{?with_rdma:BuildRequires: libibverbs-devel}
BuildRequires: libiscsi-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
+%{?with_rdma:BuildRequires: librdmacm-devel}
BuildRequires: libseccomp-devel
BuildRequires: libssh2-devel >= 1.2.8
# for usb passthrough, when available
--enable-mixemu \
%{__enable_disable glx} \
%{__enable_disable ceph rbd} \
+ %{__enable_disable rdma} \
%{__enable_disable sdl} \
--enable-seccomp \
%{__enable_disable spice} \
%{_datadir}/%{name}/*.bin
%{_datadir}/%{name}/*.rom
%{_datadir}/%{name}/*.dtb
+%{_datadir}/%{name}/qemu_logo_no_text.svg
%{_datadir}/%{name}/openbios-ppc
%{_datadir}/%{name}/openbios-sparc*
%{_datadir}/%{name}/palcode-clipper