]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: command: Rename 'qemuBuildDiskDeviceIothreadMappingProps' to 'qemuBuildIothread...
authorPeter Krempa <pkrempa@redhat.com>
Fri, 14 Feb 2025 11:38:49 +0000 (12:38 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 20 Feb 2025 14:21:45 +0000 (15:21 +0100)
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>
src/qemu/qemu_command.c

index 0d1890ef379ead30a5ffe52c12f37ccd069cbe2e..0ad73af335974a236341fa85d02c83f14af08934 100644 (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 &&