[packages/qemu] - explicitly enable KVM support

baggins baggins at pld-linux.org
Sun Nov 3 21:29:52 CET 2013


commit 51327cc084fa7487dc6acd2733407c9d81dd00b7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Nov 3 20:57:26 2013 +0100

    - explicitly enable KVM support

 qemu.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/qemu.spec b/qemu.spec
index 58843b4..2d6ca3f 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -610,6 +610,7 @@ ln -s ../error.h qapi/error.h
 	--enable-vnc-png \
 	--enable-vnc-sasl \
 	--enable-vnc-tls \
+	--enable-kvm \
 	%{__enable_disable xen} \
 	--audio-drv-list="alsa%{?with_iss:,oss}%{?with_sdl:,sdl}%{?with_esd:,esd}%{?with_pulseaudio:,pa}" \
 	--interp-prefix=%{_libdir}/qemu/lib-%%M \
@@ -626,6 +627,9 @@ ln -s ../error.h qapi/error.h
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{systemdunitdir},/usr/lib/binfmt.d} \
+	$RPM_BUILD_ROOT/etc/{sysconfig,udev/rules.d,modules-load.d} \
+	$RPM_BUILD_ROOT{%{_sysconfdir}/sasl,%{_sbindir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qemu.git/commitdiff/18e669280f9110eed077132bcbd5a37101cc89bf



More information about the pld-cvs-commit mailing list