qemu-cr16/tests/avocado
Kevin Wolf 770de68535 tests/avocado/hotplug_blk: Fix addr in device_add command
pci_devfn properties accept both integer and string values, but
integer 1 and string '1' have different meanings: The integer value
means device 0, function 1 whereas the string value '1' is short for
'1.0' and means device 1, function 0.

This test wants the string version so that the device actually becomes
visible for the guest. device_add hides the problem because it goes
through QemuOpts, which turns all properties into strings - this is a
QEMU bug that we want to fix, but that cancelled out the bug in this
test.

Fix the test first so that device_add can be fixed afterwards.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20241122224042.149258-1-kwolf@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2024-11-25 11:03:28 +01:00
..
avocado_qemu tests/functional: Convert the multiprocess avocado test into a standalone test 2024-09-11 09:49:12 +02:00
boot_linux.py tests/avocado: Move LinuxTest related code into a separate file 2024-07-22 13:54:23 +02:00
boot_linux_console.py tests/functional: Convert the OrangePi tests to the functional framework 2024-11-04 14:16:12 +01:00
boot_xen.py tests/avocado/boot_xen.py: fetch kernel during test setUp() 2024-09-04 10:51:27 +02:00
hotplug_blk.py tests/avocado/hotplug_blk: Fix addr in device_add command 2024-11-25 11:03:28 +01:00
hotplug_cpu.py tests/avocado: Move LinuxTest related code into a separate file 2024-07-22 13:54:23 +02:00
intel_iommu.py tests/avocado: apply proper skipUnless decorator 2024-08-16 09:16:03 +02:00
kvm_xen_guest.py tests/avocado: use snapshot=on in kvm_xen_guest 2024-01-12 13:23:48 +00:00
linux_ssh_mips_malta.py tests/avocado: Make ssh_command_output_contains() globally available 2023-04-27 14:58:23 +01:00
machine_aspeed.py tests/functional: Convert most Aspeed machine tests 2024-10-24 07:57:47 +02:00
migration.py tests/avocado: Use default CPU for pseries machine 2024-02-23 23:24:31 +10:00
README.rst
replay_kernel.py tests/avocado: replay_kernel.py add x86-64 q35 machine test 2024-08-16 14:04:19 +01:00
replay_linux.py tests/avocado: excercise scripts/replay-dump.py in replay tests 2024-08-16 14:04:19 +01:00
reverse_debugging.py tests/avocado: apply proper skipUnless decorator 2024-08-16 09:16:03 +02:00
smmu.py tests/avocado: apply proper skipUnless decorator 2024-08-16 09:16:03 +02:00
tuxrun_baselines.py tests/functional: Convert the RV32-on-RV64 riscv test 2024-11-07 13:12:58 +10:00
vnc.py python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00

=============================================
Integration tests using the Avocado Framework
=============================================

This directory contains integration tests. They're usually higher
level, and may interact with external resources and with various
guest operating systems.

For more information, please refer to ``docs/devel/testing.rst``,
section "Integration tests using the Avocado Framework".