]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Add test for virtio-iommu address
authorAndrea Bolognani <abologna@redhat.com>
Thu, 7 Oct 2021 17:44:26 +0000 (19:44 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 1 Apr 2022 17:31:00 +0000 (19:31 +0200)
commite0156069846ab61e04c4505b9b41ac8fdf3e3598
tree74d62d0384d3cf65f319006167d3768afc7ab714
parentfc6cde6cb1eae11e33002a41778f2f0348dfa9f3
tests: Add test for virtio-iommu address

virtio-iommu needs to be an integrated device, and our address
assignment code will make sure that is the case. If the user has
provided an explicit address, however, we should make sure any
addresses pointing to a different bus are rejected.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/virtio-iommu-invalid-address.x86_64-latest.err [new file with mode: 0644]
tests/qemuxml2argvdata/virtio-iommu-invalid-address.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c