[libvirt] [PATCH 10/11] rename qemuBuildControllerDevCommandLine

Ján Tomko jtomko at redhat.com
Wed Jan 16 07:56:15 UTC 2019


Use qemuBuildControllersCommandLine since it builds the command line
for (nearly) all controllers, not just one.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 src/qemu/qemu_command.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 5c7e53bb6a..214d4068e9 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -3176,9 +3176,9 @@ qemuBuildControllersByTypeCommandLine(virCommandPtr cmd,
 
 
 static int
-qemuBuildControllerDevCommandLine(virCommandPtr cmd,
-                                  const virDomainDef *def,
-                                  virQEMUCapsPtr qemuCaps)
+qemuBuildControllersCommandLine(virCommandPtr cmd,
+                                const virDomainDef *def,
+                                virQEMUCapsPtr qemuCaps)
 {
     size_t j;
     int contOrder[] = {
@@ -10597,7 +10597,7 @@ qemuBuildCommandLine(virQEMUDriverPtr driver,
     if (qemuBuildGlobalControllerCommandLine(cmd, def, qemuCaps) < 0)
         goto error;
 
-    if (qemuBuildControllerDevCommandLine(cmd, def, qemuCaps) < 0)
+    if (qemuBuildControllersCommandLine(cmd, def, qemuCaps) < 0)
         goto error;
 
     if (qemuBuildHubCommandLine(cmd, def, qemuCaps) < 0)
-- 
2.20.1




More information about the libvir-list mailing list