Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
launch-libvirt: place our virtio-net-pci device in slot 0x1e
The <qemu:commandline> trick we use for adding our virtio-net-pci device in the libvirt backend can conflict with libvirtd's and QEMU's PCI address assignment. Try to mitigate that by placing our device in slot 0x1e on the root bus. In practice this could only conflict with a "dmi-to-pci-bridge" device model, which libvirtd itself places in slot 0x1e. However, given the XMLs we generate, and modern QEMU versions, libvirtd has no reason to auto-add "dmi-to-pci-bridge". Refer to <https://libvirt.org/formatdomain.html#controllers>. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2034160 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Message-Id: <20211223103701.12702-2-lersek@redhat.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com> Tested-by: Richard W.M. Jones <rjones@redhat.com>
- Loading branch information