Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 247854

Summary: app-emulation/kvm-79 - test of CONFIG_KVM should be CONFIG_HAVE_KVM
Product: Gentoo Linux Reporter: Chris Smith <xcsmith>
Component: New packagesAssignee: Daniel Gryniewicz (RETIRED) <dang>
Status: RESOLVED INVALID    
Severity: normal CC: cardoe
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Smith 2008-11-21 01:03:34 UTC
genkernel kernel, 2.6.25-gentoo-r9, provided .config has

  CONFIG_HAVE_KVM=y

provided use flags are modules -havekernel, attempt to emerge kvm says

  [ebuild     U ] app-emulation/kvm-79 [78] USE="-havekernel*" 

   * ERROR: app-emulation/kvm-79 failed.
   * Call stack:
   *               ebuild.sh, line   49:  Called pkg_setup
   *           kvm-79.ebuild, line   63:  Called die
   * The specific snippet of code:
   *   			die "KVM support not detected!"

Adding the line 
  CONFIG_HAVE_KVM=y
+ CONFIG_KVM=y

produces a successful build.





Reproducible: Always
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-11-21 14:22:27 UTC
CONFIG_HAVE_KVM isn't the config you need.  You actually have to build the kvm module itself (CONFIG_KVM) to get some symbols built in that kvm needs to have to build *it's* modules.  I don't think a standard genkernel provided .config is sufficient, hence the check.