On 09-10-16 15:31:46, Athmane Madjoudj wrote: > Hi All, > > When i try to run > > qemu -kernel-kqemu > > or > > qemu -no-kqemu > > > i get error about an _invalid option_ > > i think that the fedora 11 qemu packages are build without support > for kqemu ( which has been installed from rpm-fusion repos) > > i have noticed that by the degradation of performance of VMs from > virt-manager. how i can fix that ? Someone believes that QEMU no longer benefits from kqemu. Also, kqemu is incompatible with kvm. You will need to rebuild qemu with kqemu enabled. Attached are two patches: one to be placed in rpmbuild/SOURCES, and the other to serve as a guide to altering the qemu.spec file (please don't use my initials when you set the version). Use `rpmbuild --recompile -bp qemu-*.src.rpm` to unpack the files (you can interrupt the build with Ctl-C once you see that %prep has been started), and after altering the spec file, `rpmbuild -ba qemu.spec` to build with the altered spec file. -- ____________________________________________________________________ TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx> ' <http://www.georgeanelson.com/>
--- qemu-kvm-0.10.6/configure.orig 2009-09-01 21:48:19.515745113 -0400 +++ qemu-kvm-0.10.6/configure 2009-09-01 22:05:54.525749602 -0400 @@ -328,7 +328,6 @@ kqemu="yes" audio_possible_drivers="$audio_possible_drivers fmod" kvm="yes" - kqemu="no" fi if [ "$cpu" = "ia64" ] ; then kvm="yes"
--- qemu.spec 2009-09-29 16:55:57.000000000 -0400 +++ qemu.spec.patched 2009-10-07 20:45:34.590096056 -0400 @@ -1,7 +1,7 @@ Summary: QEMU is a FAST! processor emulator Name: qemu Version: 0.10.6 -Release: 6%{?dist} +Release: 7_GAN # Epoch because we pushed a qemu-1.0 package Epoch: 2 License: GPLv2+ and LGPLv2+ and BSD @@ -36,7 +36,8 @@ Patch16: qemu-ppc-on-ppc.patch Patch17: qemu-use-statfs-to-determine-huge-page-size.patch Patch18: qemu-allow-pulseaudio-to-be-the-default.patch -Patch19: qemu-fix-virtio-net-gso-support.patch + +Patch999: qemu-config-allow-kqemu.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel @@ -238,7 +239,7 @@ %patch16 -p1 %patch17 -p1 %patch18 -p1 -%patch19 -p1 +%patch999 -p1 %build # systems like rhel build system does not have a recent enough linker so @@ -266,7 +267,8 @@ --audio-drv-list=pa,sdl,alsa,oss \ --disable-strip \ --extra-ldflags=$extraldflags \ - --extra-cflags="$RPM_OPT_FLAGS" + --extra-cflags="$RPM_OPT_FLAGS" \ + --disable-kqemu make V=1 %{?_smp_mflags} $buildldflags cp -a x86_64-softmmu/qemu-system-x86_64 qemu-kvm
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines