]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: check HOTPLUGGABLE connect flag when validating a PCI address
authorLaine Stump <laine@redhat.com>
Mon, 6 Apr 2020 02:57:43 +0000 (22:57 -0400)
committerLaine Stump <laine@redhat.com>
Mon, 13 Apr 2020 02:42:14 +0000 (22:42 -0400)
commita283189f8c64882681ea99259ccfc8d1b8e524dd
tree74eaf45bccc0eac164947e13dd0fb56d33774688
parentaa15e9259f1f246e69fb9742581ced720c88695d
conf: check HOTPLUGGABLE connect flag when validating a PCI address

The HOTPLUGGABLE flag is set for appropriates buses in a PCI address
set, and thnis patch updates virDomainPCIAddressFlagsCompatible() to
check the HOTPLUGGABLE flag when searching for a suitable bus/slot for
a device. No devices request HOTPLUGGABLE though (yet), so there is no
observable effect.

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_addr.c