Bug 1882008

Summary: Missing kvm_intel and kvm_amd module in centos 8 stream rt repository
Product: Red Hat Enterprise Linux 8 Reporter: Alexis Macraigne <amacraigne>
Component: kernel-rtAssignee: Brian Stinson <bstinson>
kernel-rt sub component: KVM QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED NOTABUG Docs Contact:
Severity: high    
Priority: unspecified CC: bhu, bstinson, carl, fvanzwie, jwboyer, virt-maint
Version: CentOS Stream   
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-23 15:37:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexis Macraigne 2020-09-23 15:14:39 UTC
Description of problem:
After installing kernel-rt-4.18.0-236.rt7.49.el8.x86_64.rpm from centos 8 RT stream (http://mirror.centos.org/centos/8-stream/RT/) usage of qemu-kvm is impossible because kernel modules kvm_intel and kvm_amd are missing.
The kernel config file mention following parameters that seems to indicate that these modules has been build during rpmbuild :
$ grep -ri KVM /boot/config-4.18.0-236.rt7.49.el8.x86_64
CONFIG_KVM_GUEST=y
# CONFIG_KVM_DEBUG_FS is not set
CONFIG_PTP_1588_CLOCK_KVM=m
CONFIG_DRM_I915_GVT_KVMGT=m
CONFIG_HAVE_KVM=y
CONFIG_HAVE_KVM_IRQCHIP=y
CONFIG_HAVE_KVM_IRQFD=y
CONFIG_HAVE_KVM_IRQ_ROUTING=y
CONFIG_HAVE_KVM_EVENTFD=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_HAVE_KVM_MSI=y
CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_COMPAT=y
CONFIG_HAVE_KVM_IRQ_BYPASS=y
CONFIG_HAVE_KVM_NO_POLL=y
CONFIG_KVM=m
CONFIG_KVM_WERROR=y
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m
CONFIG_KVM_AMD_SEV=y
CONFIG_KVM_MMU_AUDIT=y

I think these modules has been forgotten when the packaging has been made. Am I wrong ?

Version-Release number of selected component (if applicable): kernel-rt-4.18.0-236.rt7.49.el8.x86_64


How reproducible:


Steps to Reproduce:
1.yum install kernel-rt-4.18.0-236.rt7.49.el8
2.reboot
3.ls /lib/modules/4.18.0-236.rt7.49.el8.x86_64/kernel/arch/x86/kvm/ -> 

Actual results:
directory is empty

Expected results:
kvm_intel and kvm_amd is present

Additional info:

Comment 1 Josh Boyer 2020-09-23 15:37:49 UTC
Red Hat Enterprise Linux for Real Time 8 does not support KVM.  CentOS 8 Stream reflects RHEL and its product offerings, and therefore the kernel found in the RT repository does not support KVM.

Comment 2 Fred 2021-06-21 08:43:02 UTC
OSP does support real time KVM for a specific use-case. Does that mean folks need to go to OSP upstream for this?