[libvirt] [PATCH v14 28/49] extract general code from qemuPrepareHostSCSIDevices