Bug 965 - qemu-native-0.14.0-r0: do_configure: Failed due to --enable-kvm
Summary: qemu-native-0.14.0-r0: do_configure: Failed due to --enable-kvm
Status: VERIFIED WONTFIX
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Low normal
Target Milestone: 1.1
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-04-08 02:25 UTC by Dexuan Cui
Modified: 2011-04-10 22:27 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dexuan Cui 2011-04-08 02:25:05 UTC
"bitbake qemu-native" gets the following failure in a Ubuntu 9.04 host (it's too old?):

ERROR: Function 'do_configure' failed (see /osel/dcui/110406/p1/qemuppc/tmp/work/i686-linux/qemu-native-0.14.0-r0/temp/log.do_configure.13469 for further information)
ERROR: Logfile of failure stored in: /osel/dcui/110406/p1/qemuppc/tmp/work/i686-linux/qemu-native-0.14.0-r0/temp/log.do_configure.13469
Log data follows:
| ERROR: Function 'do_configure' failed (see /osel/dcui/110406/p1/qemuppc/tmp/work/i686-linux/qemu-native-0.14.0-r0/temp/log.do_configure.13469 for further information)
| #error Missing KVM capability KVM_CAP_USER_NMI
| 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
NOTE: package qemu-native-0.14.0-r0: task do_configure: Failed

The "./configure" of qemu-0.14.0 can't find KVM_CAP_USER_NMI in Ubuntu 9.04's s /usr/include/linux/kvm.h, so it fails -- is this acceptable? Can we patch the configure script to make it succeed with a warning "kvm can't be enabled" printed? I suppose we still want to support some old Linux distributions like Ubuntu 9.04 if it's not very hard?
Comment 1 Saul Wold 2011-04-08 14:47:04 UTC
Our supported OS statement is that we support all currently "supported OSes". Since Ubuntu 9.04 is no longer officially supported by Canonical, therefore this is a no-fix bug
Comment 2 Dexuan Cui 2011-04-10 22:27:58 UTC
(In reply to comment #1)
> Our supported OS statement is that we support all currently "supported OSes".
> Since Ubuntu 9.04 is no longer officially supported by Canonical, therefore
> this is a no-fix bug
VERIFY the bug.