View previous topic :: View next topic |
Author |
Message |
kikko Apprentice
Joined: 29 Apr 2014 Posts: 276 Location: Milan, IT
|
Posted: Fri Jun 06, 2014 8:59 pm Post subject: [SOLVED] emerge of qemu-2.0.0 complains about KVM_AMD |
|
|
During world update ( emerge -DNuva @world ), qemu failed to build with this message:
Code: | cat /var/tmp/portage/app-emulation/qemu-2.0.0/temp/build.log
* Package: app-emulation/qemu-2.0.0
* Repository: gentoo
* Maintainer: cardoe@gentoo.org qemu@gentoo.org
* USE: aio alsa amd64 bluetooth caps curl elibc_glibc fdt filecaps gtk jpeg kernel_linux ncurses opengl png pulseaudio python_targets_python2_7 qemu_softmmu_targets_i386 qemu_softmmu_targets_x86_64 qemu_user_targets_i386 qemu_user_targets_x86_64 sdl seccomp spice threads usb usbredir userland_GNU uuid vhost-net vnc
* FEATURES: preserve-libs sandbox userpriv usersandbox
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.12.20-gentoo/build
* Found sources for kernel version:
* 3.12.20-gentoo
* Checking for suitable kernel configuration options...
* If you have an AMD CPU, you must enable KVM_AMD in your kernel configuration.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* The kvm/qemu-kvm wrappers no longer exist, but your libvirt
* instances are still pointing to it. Please update your
* configs in /etc/libvirt/qemu/ to use the -enable-kvm flag
* and the right system binary (e.g. qemu-system-x86_64).
* ERROR: app-emulation/qemu-2.0.0::gentoo failed (pretend phase):
* update your virt configs to not use qemu-kvm
*
* Call stack:
* ebuild.sh, line 93: Called pkg_pretend
* qemu-2.0.0.ebuild, line 225: Called die
* The specific snippet of code:
* die "update your virt configs to not use qemu-kvm"
*
* If you need support, post the output of `emerge --info '=app-emulation/qemu-2.0.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-emulation/qemu-2.0.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-emulation/qemu-2.0.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-2.0.0/temp/die.env'.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/app-emulation/qemu-2.0.0/work/qemu-2.0.0' |
I haven't enabled KVM_AMD in my Kernel config... since I'm on Intel
Code: | cat /proc/cpuinfo | grep -m 1 "model name"
model name : Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz
|
KVM is in the kernel, not as a module
Code: | zcat /proc/config.gz | grep KVM
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_APIC_ARCHITECTURE=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM=y
CONFIG_KVM_INTEL=y
# CONFIG_KVM_AMD is not set |
Any idea? Should I have to file a bug for this?
Last edited by kikko on Sat Jun 07, 2014 12:00 pm; edited 1 time in total |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Fri Jun 06, 2014 9:58 pm Post subject: |
|
|
No, you should read the output you posted. The KVM_AMD notice is not why it died. It died because you need to "update your virt configs to not use qemu-kvm". |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
|
Back to top |
|
|
kikko Apprentice
Joined: 29 Apr 2014 Posts: 276 Location: Milan, IT
|
Posted: Sat Jun 07, 2014 11:59 am Post subject: |
|
|
whoops, I didn't examined the output!
Thank you very much, problem solved |
|
Back to top |
|
|
|