]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Fix a few comments
authorAndrea Bolognani <abologna@redhat.com>
Wed, 24 Jan 2024 17:17:09 +0000 (18:17 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 30 Jan 2024 09:58:13 +0000 (10:58 +0100)
They reference functions that have since been renamed.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c

index 149e8e8b35400073e56d95e20dd7f9077642cdec..31d42495f4d58d19b61d40979d8033fa17a57881 100644 (file)
@@ -2817,7 +2817,7 @@ qemuBuildControllerPCIDevProps(virDomainControllerDef *def,
 
 
 /**
- * qemuBuildControllerDevStr:
+ * qemuBuildControllerDevProps:
  * @domainDef: domain definition
  * @def: controller definition
  * @qemuCaps: QEMU binary capabilities
@@ -3070,10 +3070,10 @@ qemuBuildControllersByTypeCommandLine(virCommand *cmd,
              *
              * Note that we *don't* want to end up with the legacy USB
              * controller for q35 and virt machines, so we go ahead and
-             * fail in qemuBuildControllerDevStr(); on the other hand,
+             * fail in qemuBuildControllerDevProps(); on the other hand,
              * for s390 machines we want to ignore any USB controller
              * (see 548ba43028 for the full story), so we skip
-             * qemuBuildControllerDevStr() but we don't ultimately end
+             * qemuBuildControllerDevProps() but we don't ultimately end
              * up adding the legacy USB controller */
             continue;
         }
index de36641137ef9a3a72acfbc7c2761b052d5edc41..7292739d1f8f7d9226e20860682573e24738a0ce 100644 (file)
@@ -5597,7 +5597,7 @@ qemuDomainControllerDefPostParse(virDomainControllerDef *cont,
              * chance we will get away with using the legacy USB controller
              * when the relevant device is not available.
              *
-             * See qemuBuildControllerDevCommandLine() */
+             * See qemuBuildControllersCommandLine() */
 
             /* Default USB controller is piix3-uhci if available. */
             if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_PIIX3_USB_UHCI))