[Bug 586071] New: openSUSE Build Service - KVM (qemu-kvm) does not use KSM
http://bugzilla.novell.com/show_bug.cgi?id=586071 http://bugzilla.novell.com/show_bug.cgi?id=586071#c0 Summary: openSUSE Build Service - KVM (qemu-kvm) does not use KSM Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: brogers@novell.com ReportedBy: death_knight@gamebox.net QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- Hi I am using vanilla 2.6.33 with your KVM package from 11.2 branch. I see the solution here: http://www.mail-archive.com/kvm@vger.kernel.org/msg28572.html Unfortunately since glibc doesn't define MADV_MERGEABLE, so qemu-kvm didn't compile with KSM support. After I added -DMADV_MERGEABLE=12 -DMADV_UNMERGEABLE=13 CFLAGS, things started to work. I wanted to submit patch but KVM.spec configuration has already have this line --extra-cflags="%{optflags}" So I don't know how can override this, but replacing this with --extra-cflags="-DMADV_MERGEABLE=12 -DMADV_UNMERGEABLE=13" make qemu-kvm compiled with KSM support. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=586071
http://bugzilla.novell.com/show_bug.cgi?id=586071#c1
--- Comment #1 from Death Knight
http://bugzilla.novell.com/show_bug.cgi?id=586071
http://bugzilla.novell.com/show_bug.cgi?id=586071#c2
Bruce Rogers
participants (1)
-
bugzilla_noreply@novell.com