tests/acpi/bios-tables-test: use the correct slot on the pcie-root-port
commit7b0ba7b1c8b362a83bfb30170dae6035a71192c2
authorAni Sinha <anisinha@redhat.com>
Wed, 5 Jul 2023 11:59:20 +0000 (5 17:29 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 10 Jul 2023 22:59:32 +0000 (10 18:59 -0400)
tree374d61af3d288d5fcc34c213b3b52007db073333
parent8d60105a5973320ffd72a48f208cfd2b041d6c0b
tests/acpi/bios-tables-test: use the correct slot on the pcie-root-port

PCIE ports only have one slot, slot 0. Hence, non-zero slots are not available
for PCIE devices on PCIE root ports. Fix test_acpi_q35_tcg_no_acpi_hotplug()
so that the test does not use them.

Signed-off-by: Ani Sinha <anisinha@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20230705115925.5339-3-anisinha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/qtest/bios-tables-test.c