File tree Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 7
7
cpuid_chk_cmd = " rpm -qa | grep cpuid"
8
8
cpuid_pkg = " cpuid"
9
9
RHEL:
10
- repo_install_cmd = " dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-%s.noarch.rpm"
10
+ # set workaround from RHEL10.0 since no cpuid package includes in epel-10.repo
11
+ repo_install_cmd = " dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm"
11
12
check_cpuid_entry_cmd = " cpuid -r -1 -l 0x40000004"
Original file line number Diff line number Diff line change 5
5
rdmsr_cmd = " rdmsr 0x40000002"
6
6
not_preprocess = yes
7
7
required_qemu = [6.2.0,)
8
- RHEL.9 :
8
+ RHEL:
9
9
repo_install_cmd = " yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm"
10
10
RHEL.8:
11
11
repo_install_cmd = " yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm"
Original file line number Diff line number Diff line change 6
6
cpuid_chk_cmd = " rpm -qa | grep cpuid"
7
7
cpuid_pkg = " cpuid"
8
8
RHEL:
9
- repo_install_cmd = " dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-%s.noarch.rpm"
9
+ # set workaround from RHEL10.0 since no cpuid package includes in epel-10.repo
10
+ repo_install_cmd = " dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm"
10
11
variants:
11
12
- hv_tlbflush_ext:
12
13
hv_flag = " hv_tlbflush_ext"
Original file line number Diff line number Diff line change @@ -34,8 +34,9 @@ def install_epel_repo():
34
34
repo_install_cmd = params .get ("repo_install_cmd" )
35
35
if not repo_install_cmd :
36
36
return
37
- rhel_major_ver = _get_rhel_major_ver ()
38
- repo_install_cmd = repo_install_cmd % rhel_major_ver
37
+ # set workaround from RHEL10.0 since no cpuid package includes in epel-10.repo
38
+ # rhel_major_ver = _get_rhel_major_ver()
39
+ # repo_install_cmd = repo_install_cmd % rhel_major_ver
39
40
session .cmd_output_safe (repo_install_cmd )
40
41
time .sleep (5 )
41
42
Original file line number Diff line number Diff line change @@ -71,8 +71,9 @@ def install_epel_repo():
71
71
repo_install_cmd = params .get ("repo_install_cmd" )
72
72
if not repo_install_cmd :
73
73
return
74
- rhel_major_ver = _get_rhel_major_ver ()
75
- repo_install_cmd = repo_install_cmd % rhel_major_ver
74
+ # set workaround from RHEL10.0 since no cpuid package includes in epel-10.repo
75
+ # rhel_major_ver = _get_rhel_major_ver()
76
+ # repo_install_cmd = repo_install_cmd % rhel_major_ver
76
77
session .cmd_output_safe (repo_install_cmd )
77
78
time .sleep (5 )
78
79
You can’t perform that action at this time.
0 commit comments