Bug 700730

Summary: why kernel can not compile kvm.ko for 32-bit rhel6
Product: Red Hat Enterprise Linux 6 Reporter: lvxueguan <satbfydwno>
Component: kernelAssignee: Red Hat Kernel Manager <kernel-mgr>
Status: CLOSED NOTABUG QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0CC: gwlii, riel
Target Milestone: rc   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-04 18:26:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description lvxueguan 2011-04-29 08:57:14 UTC
Description of problem:
I compiled kernel on 32-bit rhel6, but there is no kvm.ko. what if I want to use kvm on 32-bit rhel6.

Version-Release number of selected component (if applicable):
2.6.32-71.24.1

How reproducible:
comile  kernel-2.6.32-71.24.1.el6.src.rpm. can not find kvm.ko in  the produced modules.

Steps to Reproduce:
1. install kernel-2.6.32-71.24.1.el6.src.rpm
2. rpmbuild -ba kernel.spec
3. find /root/rpmbuild/BUILD/kernel-2.6.32-71.24.1.el6/linux-2.6.32-71.24.1.el6.i686/ -name kvm.ko
  
Actual results:
not found kvm.ko

Expected results:
make kernel produce kvm.ko on 32-bit rhel6

Additional info:

Comment 2 RHEL Program Management 2011-04-30 06:01:24 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 RHEL Program Management 2011-10-07 15:33:01 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 4 Rik van Riel 2011-11-04 18:26:59 UTC
KVM is not supported on i686 in RHEL6. I believe there are only one or two CPU models (some Atom chips) for sale that have support for virtualization, but not 64 bit, and those only support 2GB of memory, which makes them not very useful as virtualization hosts. Everybody else can run x86_64 as their virtualization host.

You can build a custom kernel, changing the kernel config options to have a KVM module. This is not officially supported by Red Hat, but will probably work.