Skip to content

Commit 476f7ea

Browse files
authored
Merge branch 'main' into dependabot/cargo/firecracker-b7fbb2bc2f
2 parents 0a4d2e1 + 5771bb8 commit 476f7ea

28 files changed

+76
-72
lines changed

tests/conftest.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,17 @@ def waitpkg_bin(test_fc_session_root_path):
258258
yield waitpkg_bin_path
259259

260260

261+
@pytest.fixture(scope="session")
262+
def msr_reader_bin(test_fc_session_root_path):
263+
"""Build a binary that reads msrs"""
264+
msr_reader_bin_path = os.path.join(test_fc_session_root_path, "msr_reader")
265+
build_tools.gcc_compile(
266+
"data/msr/msr_reader.c",
267+
msr_reader_bin_path,
268+
)
269+
yield msr_reader_bin_path
270+
271+
261272
@pytest.fixture
262273
def bin_seccomp_paths():
263274
"""Build jailers and jailed binaries to test seccomp.

tests/data/msr/msr_list_SPR_TO_T2_5.10_INTEL_SAPPHIRE_RAPIDS_5.10host_5.10guest.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MSR_ADDR,VALUE
2-
0,0x0
2+
0x0,0x0
33
0x1,0x0
44
0x10,0x7e1358a6
55
0x11,0x24b8008

tests/data/msr/msr_list_SPR_TO_T2_5.10_INTEL_SAPPHIRE_RAPIDS_5.10host_6.1guest.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MSR_ADDR,VALUE
2-
0,0x0
2+
0x0,0x0
33
0x1,0x0
44
0x10,0x6f36e74e
55
0x11,0x25cb008

tests/data/msr/msr_list_SPR_TO_T2_6.1_INTEL_SAPPHIRE_RAPIDS_6.1host_5.10guest.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MSR_ADDR,VALUE
2-
0,0x0
2+
0x0,0x0
33
0x1,0x0
44
0x10,0xbae96682
55
0x11,0x24a1008

tests/data/msr/msr_list_SPR_TO_T2_6.1_INTEL_SAPPHIRE_RAPIDS_6.1host_6.1guest.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MSR_ADDR,VALUE
2-
0,0x0
2+
0x0,0x0
33
0x1,0x0
44
0x10,0x7b423550
55
0x11,0x25cb008

tests/data/msr/msr_list_T2A_AMD_MILAN_5.10host_5.10guest.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MSR_ADDR,VALUE
2-
0,0x0
2+
0x0,0x0
33
0x1,0x0
44
0x10,0xfd7a7f6d
55
0x11,0x2501008

tests/data/msr/msr_list_T2A_AMD_MILAN_5.10host_6.1guest.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MSR_ADDR,VALUE
2-
0,0x0
2+
0x0,0x0
33
0x1,0x0
44
0x10,0xfd7a7f6d
55
0x11,0x2501008

tests/data/msr/msr_list_T2A_AMD_MILAN_6.1host_5.10guest.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MSR_ADDR,VALUE
2-
0,0x0
2+
0x0,0x0
33
0x1,0x0
44
0x10,0xd2adc3c4
55
0x11,0x2a00000

tests/data/msr/msr_list_T2A_AMD_MILAN_6.1host_6.1guest.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MSR_ADDR,VALUE
2-
0,0x0
2+
0x0,0x0
33
0x1,0x0
44
0x10,0xd2adc3c4
55
0x11,0x2a00000

tests/data/msr/msr_list_T2CL_INTEL_CASCADELAKE_5.10host_5.10guest.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MSR_ADDR,VALUE
2-
0,0x0
2+
0x0,0x0
33
0x1,0x0
44
0x10,0xbe7f66e8
55
0x11,0x2748008

0 commit comments

Comments
 (0)