]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Add coverage for PCI use with isapc and microvm
authorAndrea Bolognani <abologna@redhat.com>
Fri, 11 Jul 2025 13:39:01 +0000 (15:39 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 6 Oct 2025 09:15:33 +0000 (11:15 +0200)
commit205e131f971a870c88398caee179edb71ba41c83
tree023a7d482f2f555e894ed56262a11552fb7bf2c1
parentb38fb62e2e2997fa2f7aa0a5266a054189c51adf
tests: Add coverage for PCI use with isapc and microvm

Neither machine type supports PCI, so attempting to add a
PCI controller should fail. It currently doesn't, and we're
going to address that in an upcoming commit.

Note that the domain gets a PCI memballoon device added
automatically. That also shouldn't happen, and will similarly
be fixed.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxmlconfdata/isapc-pci.x86_64-latest.args [new file with mode: 0644]
tests/qemuxmlconfdata/isapc-pci.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlconfdata/isapc-pci.xml [new file with mode: 0644]
tests/qemuxmlconfdata/microvm-pci.x86_64-latest.args [new file with mode: 0644]
tests/qemuxmlconfdata/microvm-pci.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxmlconfdata/microvm-pci.xml [new file with mode: 0644]
tests/qemuxmlconftest.c