[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/40] tests: acpi: cleanup arguments to make them more readable
From: |
Igor Mammedov |
Subject: |
[PATCH 02/40] tests: acpi: cleanup arguments to make them more readable |
Date: |
Thu, 12 Jan 2023 15:02:34 +0100 |
no functional change
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
CC: Thomas Huth <thuth@redhat.com>
CC: Laurent Vivier <lvivier@redhat.com>
---
tests/qtest/bios-tables-test.c | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
index 8608408213..08b8aee76b 100644
--- a/tests/qtest/bios-tables-test.c
+++ b/tests/qtest/bios-tables-test.c
@@ -951,8 +951,7 @@ static void test_acpi_q35_tcg_bridge(void)
data.variant = ".bridge";
data.required_struct_types = base_required_struct_types;
data.required_struct_types_len = ARRAY_SIZE(base_required_struct_types);
- test_acpi_one("-device pci-bridge,chassis_nr=1",
- &data);
+ test_acpi_one("-device pci-bridge,chassis_nr=1", &data);
free_test_data(&data);
}
@@ -962,14 +961,12 @@ static void test_acpi_q35_multif_bridge(void)
.machine = MACHINE_Q35,
.variant = ".multi-bridge",
};
- test_acpi_one("-device pcie-root-port,id=pcie-root-port-0,"
- "multifunction=on,"
- "port=0x0,chassis=1,addr=0x2,bus=pcie.0 "
- "-device pcie-root-port,id=pcie-root-port-1,"
- "port=0x1,chassis=2,addr=0x3.0x1,bus=pcie.0 "
- "-device virtio-balloon,id=balloon0,"
- "bus=pcie.0,addr=0x4.0x2",
- &data);
+ test_acpi_one(
+ " -device virtio-balloon,id=balloon0,addr=0x4.0x2"
+ " -device pcie-root-port,id=rp0,multifunction=on,"
+ "port=0x0,chassis=1,addr=0x2"
+ " -device pcie-root-port,id=rp1,port=0x1,chassis=2,addr=0x3.0x1",
+ &data);
free_test_data(&data);
}
--
2.31.1
- [PATCH 00/40] x86: fixing and cleaning up ACPI PCI code part 3, Igor Mammedov, 2023/01/12
- [PATCH 05/40] tests: acpi: update expected blobs, Igor Mammedov, 2023/01/12
- [PATCH 02/40] tests: acpi: cleanup arguments to make them more readable,
Igor Mammedov <=
- [PATCH 18/40] pcihp: drop pcihp_bridge_en dependency when composing PCNT method, Igor Mammedov, 2023/01/12
- [PATCH 11/40] pci: acpihp: assign BSEL only to coldplugged bridges, Igor Mammedov, 2023/01/12
- [PATCH 27/40] x86: pcihp: acpi: prepare slot ignore rule to work with self describing bridges, Igor Mammedov, 2023/01/12
- [PATCH 15/40] tests: boot_sector_test(): make it multi-shot, Igor Mammedov, 2023/01/12
- [PATCH 03/40] tests: acpi: whitelist DSDT blobs for tests that use pci-bridges, Igor Mammedov, 2023/01/12
- [PATCH 09/40] pci: acpi hotplug: rename x-native-hotplug to x-do-not-expose-native-hotplug-cap, Igor Mammedov, 2023/01/12
- [PATCH 14/40] tests: acpi: extend bridge tests with hotplugged bridges, Igor Mammedov, 2023/01/12
- [PATCH 08/40] x86: acpi: pcihp: clean up duplicate bridge_in_acpi assignment, Igor Mammedov, 2023/01/12
- [PATCH 12/40] x86: pcihp: fix invalid AML PCNT calls to hotplugged bridges, Igor Mammedov, 2023/01/12
- [PATCH 22/40] pcihp: do not put empty PCNT in DSDT, Igor Mammedov, 2023/01/12