[PATCH 04/13] qemu: command: Rename 'qemuBuildDiskDeviceIothreadMappingProps' to 'qemuBuildIothreadMappingProps'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux