Prepare for reuse of the code for 'virtio-scsi' controller. Signed-off-by: Peter Krempa <pkre...@redhat.com> --- 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 35a71b73a7..b76fec27c5 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.48.1