qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurel32@debian.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 494500] Re: QEMU 0.12.0 does not support KVM with Kernel < 2.6.29, bug in ./configure and kvm-all.c
Date: Sun, 20 Feb 2011 17:11:21 -0000	[thread overview]
Message-ID: <20110220171123.30180.40223.launchpad@wampee.canonical.com> (raw)
In-Reply-To: 20091209132347.795.21673.malonedeb@gangotri.canonical.com

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/494500

Title:
  QEMU 0.12.0 does not support KVM with Kernel < 2.6.29, bug in
  ./configure and kvm-all.c

Status in QEMU:
  Fix Released

Bug description:
  I tryed to compile QEMU 0.12.0-rc1 with KVM support without success.

  Here my configuration:

  uname -a
  Linux bla 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009 x86_64 GNU/Linux

  dpkg -l | grep kvm
  ii  kvm                                        1:84+dfsg-0ubuntu11

  This KVM modul works fine.

  I've installed this packets:

  sudo apt-get install make wget zlib1g-dev libsdl-gfx1.2-dev
  sudo apt-get install gcc libsdl1.2-dev zlib1g-dev libasound2-dev linux-kernel-headers-`uname-r` pkg-config libgnutls-dev libpci-dev

  The compiling of QEMU 0.12.0-rc1 wihout KVM support was OK.

  ./configure --enable-kvm
  #error Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS
        NOTE: To enable KVM support, update your kernel to 2.6.29+ or install   recent kvm-kmod from http://sourceforge.net/projects/kvm.
  ERROR
  ERROR: User requested feature kvm
  ERROR: configure was not able to find it
  ERROR

  I can't change the kernel because Ubuntu 9.10 are too buggy.
  So I tryed to install the latest kvm modul.

  wget \
  http://sourceforge.net/projects/kvm/files/kvm-kmod/2.6.32/kvm-kmod-2.6.32.tar.bz2/download
  tar xjvf kvm-kmod-2.6.32.tar.bz2
  cd kvm-kmod-2.6.32
  ./configure && make
  sudo make install
  sudo rmmod kvm_intel kvm_adm kvm
  sudo make install
  sudo rmmod kvm_intel kvm
  sudo modprobe kvm_intel

  dmesg | grep kvm
  [81811.678377] loaded kvm module (kvm-kmod-2.6.32)

  I tryed to compile QEMU with kvm support but I got the same error.

  ./configure --enable-kvm
  #error Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS
        NOTE: To enable KVM support, update your kernel to 2.6.29+ or install   recent kvm-kmod from http://sourceforge.net/projects/kvm.
  ERROR
  ERROR: User requested feature kvm
  ERROR: configure was not able to find it
  ERROR

  What is wrong?

  See also http://qemu-buch.de/de/index.php/QEMU-KVM-Buch/_Installation

      parent reply	other threads:[~2011-02-20 17:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20091209132347.795.21673.malonedeb@gangotri.canonical.com>
2010-06-30 11:26 ` [Qemu-devel] [Bug 494500] Re: QEMU 0.12.0 does not support KVM with Kernel < 2.6.29, bug in ./configure and kvm-all.c Jes Sorensen
2010-06-30 11:56 ` rowa
2010-06-30 12:43 ` Iggy
2010-06-30 13:05 ` rowa
2010-07-01  7:04   ` [Qemu-devel] " Jan Kiszka
2010-07-01  9:47     ` Jes Sorensen
2010-07-12 10:55 ` [Qemu-devel] " rowa
2011-02-20 17:11 ` Aurelien Jarno [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110220171123.30180.40223.launchpad@wampee.canonical.com \
    --to=aurel32@debian.org \
    --cc=494500@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).