File tree 1 file changed +6
-0
lines changed
tests/integration_tests/functional
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 26
26
27
27
G4_FEATS = (G3_FEATS | set ("bti flagm2 frint sb" .split ())) - set ("sm3 sm4" .split ())
28
28
29
+ G4_SVE_AND_PAC = set (
30
+ "paca pacg sve sve2 sveaes svebitperm svepmull svesha3 svebf16 svei8mm" .split ()
31
+ )
32
+
29
33
30
34
def test_guest_cpu_features (uvm_any ):
31
35
"""Check the CPU features for a microvm with different CPU templates"""
@@ -47,6 +51,8 @@ def test_guest_cpu_features(uvm_any):
47
51
expected_cpu_features = G3_FEATS
48
52
case CpuModel .ARM_NEOVERSE_V2 , None :
49
53
expected_cpu_features = G4_FEATS
54
+ case CpuModel .ARM_NEOVERSE_V2 , "aarch64_with_sve_and_pac" :
55
+ expected_cpu_features = G4_FEATS | G4_SVE_AND_PAC
50
56
51
57
guest_feats = set (vm .ssh .check_output (CPU_FEATURES_CMD ).stdout .split ())
52
58
assert guest_feats == expected_cpu_features
You can’t perform that action at this time.
0 commit comments