Bug 8699 - Fix the dependency issue between kvm module and ccp module
Summary: Fix the dependency issue between kvm module and ccp module
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-03 11:10 UTC by xiongmengbiao
Modified: 2024-04-03 11:47 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xiongmengbiao hygon_group 2024-04-03 11:10:53 UTC
Description of problem:

Currently, loading the kvm module depends on the cc module, and the dependencies are as follows:
[root@anolis ~]# lsmod | grep kvm
kvm_amd 200704 0
kvm 1339392 1 kvm_amd
ccp 352256 1 kvm_amd
irqbypass 12288 2 vfio_pci_core,kvm

The ccp module may not be present on non-AMD and HYGON machines, so the dependency between kvm and ccp modules needs to be eliminated


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2024-04-03 11:47:59 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3000