1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 06:50:22 +03:00

qemu: command: Rename 'qemuBuildDiskDeviceIothreadMappingProps' to 'qemuBuildIothreadMappingProps'

Prepare for reuse of the code for 'virtio-scsi' controller.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2025-02-14 12:38:49 +01:00
parent 3313ab3932
commit a21319bb94

View File

@ -1574,7 +1574,7 @@ qemuBuildDriveStr(virDomainDiskDef *disk)
static virJSONValue *
qemuBuildDiskDeviceIothreadMappingProps(GSList *iothreads)
qemuBuildIothreadMappingProps(GSList *iothreads)
{
g_autoptr(virJSONValue) ret = virJSONValueNewArray();
GSList *n;
@ -1687,7 +1687,7 @@ qemuBuildDiskDeviceProps(const virDomainDef *def,
iothread = g_strdup_printf("iothread%u", disk->iothread);
if (disk->iothreads &&
!(iothreadMapping = qemuBuildDiskDeviceIothreadMappingProps(disk->iothreads)))
!(iothreadMapping = qemuBuildIothreadMappingProps(disk->iothreads)))
return NULL;
if (virStorageSourceGetActualType(disk->src) != VIR_STORAGE_TYPE_VHOST_USER &&