From nobody Sat Apr 27 01:22:39 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1592925303; cv=none; d=zohomail.com; s=zohoarc; b=XHff8itX2Sdn8SmvzdUWuop5SH03lZ/0HPYe/FEbDCuKACZr8Aw8lziVpA2DbDCjLqJzNbO9PcgP9EXm1FZ1th60O6b5dFtYfGaajZH4Z0IrE7csVTfsrSnUJhfFv//jxuNSq8iBDrZQi6/A3bK1WuNq98LLqDEmBK6Vgk8pdXE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592925303; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=erFDsuA81rggX7HaRPvScdd7dURhGNh4Vh26bquE7gY=; b=RTU6DmZpaIpqKWETgRgopwbGnprw1Nb95JgDBV6Ncano+BuJnp+XS0rFFIzVGauixe8UtDU9PCIRCmYUFqFm9Y74y3Sn/asxH6uRvGPDTXfa4qsPl4WXy4ZtQzEWvjgplFENtPjUvw2C4KqzkV2wfvYBnuwPb5F7O/7b2d+BfkI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1592925303854837.8041720447135; Tue, 23 Jun 2020 08:15:03 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-509-bRsjXbXtO56AQd8XCof3WA-1; Tue, 23 Jun 2020 11:15:00 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B062DEC1A3; Tue, 23 Jun 2020 15:14:54 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 29FE419D7F; Tue, 23 Jun 2020 15:14:54 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 527821809547; Tue, 23 Jun 2020 15:14:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 05NFEpKS019276 for ; Tue, 23 Jun 2020 11:14:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5B8815C290; Tue, 23 Jun 2020 15:14:51 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.192.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id D0B8C5C5D9 for ; Tue, 23 Jun 2020 15:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592925302; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=erFDsuA81rggX7HaRPvScdd7dURhGNh4Vh26bquE7gY=; b=iyoUZofHwx6u77pmFnfIpTmTk+BqJ2hRpYivxDcBivLv0IkgWbWpimtdZGB5hHN9y6wMoD 1faq9AcvUakzwd14Cabkf6tZ/YCbuTnEWukyC78Zc6TmPK7+ZoJOvwgg8wbpfHbG/5jfJE abbQuhZsHobflA++gSF7RPvcRlT+gaw= X-MC-Unique: bRsjXbXtO56AQd8XCof3WA-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] qemu_command: Fix IOMMU validator name in two comments Date: Tue, 23 Jun 2020 17:14:46 +0200 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" When building command line for IOMMU or machine, there are two comments which mention function that validate IOMMU. But they both refer to old name which was changed in v6.3.0-rc1~246. Signed-off-by: Michal Privoznik --- Pushed as trivial. 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 73a655a0bc..e2cbdf0925 100644 --- a/src/qemu/qemu_command.c +++ b/src/qemu/qemu_command.c @@ -6180,7 +6180,7 @@ qemuBuildIOMMUCommandLine(virCommandPtr cmd, case VIR_DOMAIN_IOMMU_MODEL_INTEL: { g_auto(virBuffer) opts =3D VIR_BUFFER_INITIALIZER; =20 - /* qemuDomainDeviceDefValidateIOMMU() already made sure we have + /* qemuValidateDomainDeviceDefIOMMU() already made sure we have * one of QEMU_CAPS_DEVICE_INTEL_IOMMU or QEMU_CAPS_MACHINE_IOMMU: * here we handle the former case, while the latter is taken care * of in qemuBuildMachineCommandLine() */ @@ -6833,7 +6833,7 @@ qemuBuildMachineCommandLine(virCommandPtr cmd, if (def->iommu) { switch (def->iommu->model) { case VIR_DOMAIN_IOMMU_MODEL_INTEL: - /* qemuDomainDeviceDefValidateIOMMU() already made sure we have + /* qemuValidateDomainDeviceDefIOMMU() already made sure we have * one of QEMU_CAPS_DEVICE_INTEL_IOMMU or QEMU_CAPS_MACHINE_IO= MMU: * here we handle the latter case, while the former is taken c= are * of in qemuBuildIOMMUCommandLine() */ --=20 2.26.2