From a21319bb94ef2da237f9ca3560042b714b60d463 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 14 Feb 2025 12:38:49 +0100 Subject: [PATCH] qemu: command: Rename 'qemuBuildDiskDeviceIothreadMappingProps' to 'qemuBuildIothreadMappingProps' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Prepare for reuse of the code for 'virtio-scsi' controller. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- src/qemu/qemu_command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 && -- 2.47.3