[libvirt] [PATCH v13 18/49] extract general code from qemuUpdateActivePciHostdevs