We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8148e7 commit 5b54630Copy full SHA for 5b54630
tests/integration_tests/functional/test_snapshot_phase1.py
@@ -36,16 +36,11 @@ def test_snapshot_phase1(
36
vm.spawn(log_level="Info")
37
vm.add_net_iface()
38
39
- static_cpu_template = None
40
- if isinstance(cpu_template_any, str):
41
- static_cpu_template = cpu_template_any
42
- elif isinstance(cpu_template_any, dict):
43
- vm.api.cpu_config.put(**cpu_template_any["template"])
44
vm.basic_config(
45
vcpu_count=2,
46
mem_size_mib=512,
47
- cpu_template=static_cpu_template,
48
)
+ vm.set_cpu_template(cpu_template_any)
49
50
guest_kernel_version = re.search("vmlinux-(.*)", vm.kernel_file.name)
51
cpu_template_name = get_cpu_template_name(cpu_template_any, with_type=True)
0 commit comments