qemu: Fix a few comments

They reference functions that have since been renamed.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Andrea Bolognani 2024-01-24 18:17:09 +01:00
parent 42ed1d6818
commit 95e54bce7d
2 changed files with 4 additions and 4 deletions

View 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;
}

View 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))