Skip to content

Commit cfd66ec

Browse files
Manciukicbchalios
authored andcommitted
test(pci): remove pci=off command line from tests
pci=off is just an optimization to skip the probing, it shouldn't matter to the functionality of the tests. Dropping it to allow them to run with PCI. Signed-off-by: Riccardo Mancini <[email protected]> Signed-off-by: Babis Chalios <[email protected]>
1 parent 9ff370e commit cfd66ec

13 files changed

+16
-20
lines changed

tests/framework/vm_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"boot-source": {
33
"kernel_image_path": "vmlinux.bin",
4-
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off",
4+
"boot_args": "console=ttyS0 reboot=k panic=1",
55
"initrd_path": null
66
},
77
"drives": [

tests/framework/vm_config_cpu_template_C3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"boot-source": {
33
"kernel_image_path": "vmlinux.bin",
4-
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off"
4+
"boot_args": "console=ttyS0 reboot=k panic=1"
55
},
66
"drives": [
77
{

tests/framework/vm_config_missing_mem_size_mib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"boot-source": {
33
"kernel_image_path": "vmlinux.bin",
4-
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off"
4+
"boot_args": "console=ttyS0 reboot=k panic=1"
55
},
66
"drives": [
77
{

tests/framework/vm_config_missing_vcpu_count.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"boot-source": {
33
"kernel_image_path": "vmlinux.bin",
4-
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off"
4+
"boot_args": "console=ttyS0 reboot=k panic=1"
55
},
66
"drives": [
77
{

tests/framework/vm_config_network.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"boot-source": {
33
"kernel_image_path": "vmlinux.bin",
4-
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off",
4+
"boot_args": "console=ttyS0 reboot=k panic=1",
55
"initrd_path": null
66
},
77
"drives": [

tests/framework/vm_config_smt_true.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"boot-source": {
33
"kernel_image_path": "vmlinux.bin",
4-
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off"
4+
"boot_args": "console=ttyS0 reboot=k panic=1"
55
},
66
"drives": [
77
{

tests/framework/vm_config_with_mmdsv1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"boot-source": {
33
"kernel_image_path": "vmlinux.bin",
4-
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off",
4+
"boot_args": "console=ttyS0 reboot=k panic=1",
55
"initrd_path": null
66
},
77
"drives": [

tests/framework/vm_config_with_mmdsv2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"boot-source": {
33
"kernel_image_path": "vmlinux.bin",
4-
"boot_args": "console=ttyS0 reboot=k panic=1 pci=off",
4+
"boot_args": "console=ttyS0 reboot=k panic=1",
55
"initrd_path": null
66
},
77
"drives": [

tests/integration_tests/functional/test_error_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_enosys_error_code(uvm_plain):
2525
vm.memory_monitor = None
2626
vm.basic_config(
2727
vcpu_count=1,
28-
boot_args="reboot=k panic=1 pci=off init=/usr/local/bin/devmemread",
28+
boot_args="reboot=k panic=1 init=/usr/local/bin/devmemread",
2929
)
3030
vm.start()
3131

tests/integration_tests/functional/test_kernel_cmdline.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ def test_init_params(uvm_plain):
2121
# Ubuntu version from the /etc/issue file.
2222
vm.basic_config(
2323
vcpu_count=1,
24-
boot_args="console=ttyS0 reboot=k panic=1 pci=off"
25-
" init=/bin/cat -- /etc/issue",
24+
boot_args="console=ttyS0 reboot=k panic=1 init=/bin/cat -- /etc/issue",
2625
)
2726

2827
vm.start()

0 commit comments

Comments
 (0)