3737TEST_WORKER_COUNT = 10
3838
3939
40- def test_vsock (uvm_plain_any , pci_enabled , bin_vsock_path , test_fc_session_root_path ):
40+ def test_vsock (uvm_plain_any , bin_vsock_path , test_fc_session_root_path ):
4141 """
4242 Test guest and host vsock initiated connections.
4343
4444 Check the module docstring for details on the setup.
4545 """
4646
4747 vm = uvm_plain_any
48- vm .spawn (pci = pci_enabled )
48+ vm .spawn ()
4949
5050 vm .basic_config ()
5151 vm .add_net_iface ()
@@ -102,12 +102,12 @@ def negative_test_host_connections(vm, blob_path, blob_hash):
102102 validate_fc_metrics (metrics )
103103
104104
105- def test_vsock_epipe (uvm_plain , pci_enabled , bin_vsock_path , test_fc_session_root_path ):
105+ def test_vsock_epipe (uvm_plain_any , bin_vsock_path , test_fc_session_root_path ):
106106 """
107107 Vsock negative test to validate SIGPIPE/EPIPE handling.
108108 """
109- vm = uvm_plain
110- vm .spawn (pci = pci_enabled )
109+ vm = uvm_plain_any
110+ vm .spawn ()
111111 vm .basic_config ()
112112 vm .add_net_iface ()
113113 vm .api .vsock .put (vsock_id = "vsock0" , guest_cid = 3 , uds_path = f"/{ VSOCK_UDS_PATH } " )
@@ -129,7 +129,7 @@ def test_vsock_epipe(uvm_plain, pci_enabled, bin_vsock_path, test_fc_session_roo
129129
130130
131131def test_vsock_transport_reset_h2g (
132- uvm_plain , pci_enabled , microvm_factory , bin_vsock_path , test_fc_session_root_path
132+ uvm_plain_any , microvm_factory , bin_vsock_path , test_fc_session_root_path
133133):
134134 """
135135 Vsock transport reset test.
@@ -146,8 +146,8 @@ def test_vsock_transport_reset_h2g(
146146 6. Close VM -> Load VM from Snapshot -> check that vsock
147147 device is still working.
148148 """
149- test_vm = uvm_plain
150- test_vm .spawn (pci = pci_enabled )
149+ test_vm = uvm_plain_any
150+ test_vm .spawn ()
151151 test_vm .basic_config (vcpu_count = 2 , mem_size_mib = 256 )
152152 test_vm .add_net_iface ()
153153 test_vm .api .vsock .put (vsock_id = "vsock0" , guest_cid = 3 , uds_path = f"/{ VSOCK_UDS_PATH } " )
@@ -215,12 +215,12 @@ def test_vsock_transport_reset_h2g(
215215 validate_fc_metrics (metrics )
216216
217217
218- def test_vsock_transport_reset_g2h (uvm_plain , pci_enabled , microvm_factory ):
218+ def test_vsock_transport_reset_g2h (uvm_plain_any , microvm_factory ):
219219 """
220220 Vsock transport reset test.
221221 """
222- test_vm = uvm_plain
223- test_vm .spawn (pci = pci_enabled )
222+ test_vm = uvm_plain_any
223+ test_vm .spawn ()
224224 test_vm .basic_config (vcpu_count = 2 , mem_size_mib = 256 )
225225 test_vm .add_net_iface ()
226226 test_vm .api .vsock .put (vsock_id = "vsock0" , guest_cid = 3 , uds_path = f"/{ VSOCK_UDS_PATH } " )
0 commit comments