Skip to contentSkip to conversation

Remove KVM tests from CVE runfile

PATCH In review Martin Doucha 3 participants 3 messages Jun 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove KVM tests from CVE runfile

KVM tests are currently limited to baremetal testing of x86 machines only. They have their own special runfile. The CVE runfile is used for testing any architecture and machine type including virtual ones. Adding KVM tests to it will cause non-x86 platforms to complain that the tests do not exist.

---
 runtest/cve | 3 ---
 1 file changed, 3 deletions(-)
runtest/cve +0 -3
index bbc552bea..7d1e84f89 100644
@@ -73,8 +73,6 @@ cve-2020-29373 io_uring02
 cve-2020-36557 pty06
 cve-2021-3444 bpf_prog05
 cve-2021-3609 can_bcm01
-cve-2021-3653 kvm_svm01
-cve-2021-3656 kvm_svm02
 cve-2021-4034 execve06
 cve-2021-4197_1 cgroup_core01
 cve-2021-4197_2 cgroup_core02
@@ -82,7 +80,6 @@ cve-2021-4204 bpf_prog06
 cve-2021-22555 setsockopt08 -i 100
 cve-2021-26708 vsock01
 cve-2021-22600 setsockopt09
-cve-2021-38198 kvm_pagefault01
 cve-2021-38604 mq_notify03
 cve-2022-0847 dirtypipe
 cve-2022-2590 dirtyc0w_shmem
Signature · 5 lines
2.41.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Hi Martin,

Quoted 5 lines

KVM tests are currently limited to baremetal testing of x86 machines only. They have their own special runfile. The CVE runfile is used for testing any architecture and machine type including virtual ones. Adding KVM tests to it will cause non-x86 platforms to complain that the tests do not exist.

Good point, I'm sorry I forget on this during review. Merged.

BTW I wonder if we should put some note to the file to remember this in the future.

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
#2 lore raw
Quoted 12 lines · Petr Vorel

Hi Martin,

Quoted 1 line

KVM tests are currently limited to baremetal testing of x86 machines

only.

Quoted 4 lines

They have their own special runfile. The CVE runfile is used for testing any architecture and machine type including virtual ones. Adding KVM tests to it will cause non-x86 platforms to complain that the tests do not exist.

Good point, I'm sorry I forget on this during review. Merged.

Thanks for doing that.

Quoted 4 lines

BTW I wonder if we should put some note to the file to remember this in the future.

+1, this would be helpful to people who are unfamiliar with them.

Signature · 5 lines
Regards,
Li Wang

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp