From: Peter Krempa Date: Fri, 14 Feb 2025 11:38:49 +0000 (+0100) Subject: qemu: command: Rename 'qemuBuildDiskDeviceIothreadMappingProps' to 'qemuBuildIothread... X-Git-Tag: v11.1.0-rc1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a21319bb94ef2da237f9ca3560042b714b60d463;p=thirdparty%2Flibvirt.git qemu: command: Rename 'qemuBuildDiskDeviceIothreadMappingProps' to 'qemuBuildIothreadMappingProps' Prepare for reuse of the code for 'virtio-scsi' controller. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 0d1890ef37..0ad73af335 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -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 &&