qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 494500] Re: QEMU 0.12.0 does not support KVM with Kern


From: Aurelien Jarno
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

** 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]