mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
42ed1d6818
commit
95e54bce7d
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue