]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Introduce qemuDomainNetIsPCI()
authorAndrea Bolognani <abologna@redhat.com>
Wed, 9 Jul 2025 16:37:39 +0000 (18:37 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 6 Oct 2025 09:15:39 +0000 (11:15 +0200)
commita66db764471dece3725f99ac47983b25a697f5f1
treeb4bcf967fad9ef6cad65b21aebf1fdc6de9b571d
parentc60d168605dffeb1ad17398328efd9456435def8
qemu: Introduce qemuDomainNetIsPCI()

This centralizes the knowledge about which network interface
models are PCI devices and thus need to have a PCI address
allocated by libvirt, and expands said knowledge to include
the fact that models such as spapr-vlan and smc91c111 are
not PCI devices.

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>
src/qemu/qemu_domain_address.c