From nobody Fri May 10 16:52:35 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 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=1649148135; cv=none; d=zohomail.com; s=zohoarc; b=nRRcgc7m+NLz8+1hmZTwN36v9ntOIT+JJI5HeIrGJhqvHi0p0a6UYJnm3zekzOyWdlGhAVLN/i6NWe8mKeYjtdlADTkhOsPguHEiMtyojzG5BlDlDZUt3MTxk4g76NCF6MivJEtdEYw4go/6SFHUE1J8KgTJbfGIJXrozAeQ+NE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649148135; 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=PYaSqJ+wFAjJTC9UABAUlVGINSj6SG/h2rRlHb/CU1E=; b=gO0F0vnDczeMJYtZehrNB5Xh8h8UKcu/OJ+Spv281L5A0cQfnmntLrq5fBGTbt26c7YhW6pO4tZhFKPZ1YhYkHNf3JqwaC0nIufSwYA7KkIl97TNHiRR3U0T+1fjExO34Vkl9arxu+yXl3+ptR+j86GWaib6hhHeSnBw+999Zrs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1649148135493937.2061550255609; Tue, 5 Apr 2022 01:42:15 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-55-DfRHG3F5MgiNLWC79j849g-1; Tue, 05 Apr 2022 04:42:10 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1D46683395F; Tue, 5 Apr 2022 08:42:08 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id BAE8E1457F2C; Tue, 5 Apr 2022 08:42:07 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 551881940367; Tue, 5 Apr 2022 08:42:07 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 3EF5E19466DF for ; Tue, 5 Apr 2022 08:42:06 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 1B886C57969; Tue, 5 Apr 2022 08:42:06 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.180]) by smtp.corp.redhat.com (Postfix) with ESMTP id B7A2FC57962 for ; Tue, 5 Apr 2022 08:42:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649148133; 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=PYaSqJ+wFAjJTC9UABAUlVGINSj6SG/h2rRlHb/CU1E=; b=WSTT3Wxo3sgyMJzgxkKq9divXHPEd1ZJw3A9daWW8lH+h+nOH9ajzuqzwtaRc5cGm0Ves+ 26Rr4nQproMVNLnmGy3CMLf7KUpQLgouvarqMTwI/BIAbYZ2kTqR8mFJbE1qGCx8IfP3tm HeK0mtZR6Lg9PEGZhQwmNZE5sxj/WJ8= X-MC-Unique: DfRHG3F5MgiNLWC79j849g-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] virsh: Remove any reference of KVM device assignment Date: Tue, 5 Apr 2022 10:42:03 +0200 Message-Id: <201d014ac43e6e193c7fcbe21f0949df73ca0bc6.1649148123.git.mprivozn@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1649148137347100001 Content-Type: text/plain; charset="utf-8"; x-default="true" The KVM device assignment was removed in v5.7.0-rc1~103 but virsh and its manpage still mention it. Don't do that. Signed-off-by: Michal Privoznik Reviewed-by: Andrea Bolognani --- docs/manpages/virsh.rst | 7 +++---- tools/virsh-nodedev.c | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/manpages/virsh.rst b/docs/manpages/virsh.rst index d2e6528533..215beabd96 100644 --- a/docs/manpages/virsh.rst +++ b/docs/manpages/virsh.rst @@ -5198,10 +5198,9 @@ guests via passthrough. This is reversed = with ``nodedev-reattach``, and is done automatically for managed devices. =20 Different backend drivers expect the device to be bound to different -dummy devices. For example, QEMU's "kvm" backend driver (the default) -expects the device to be bound to pci-stub, but its "vfio" backend -driver expects the device to be bound to vfio-pci. The *--driver* -parameter can be used to specify the desired backend driver. +dummy devices. For example, QEMU's "vfio" backend driver expects the +device to be bound to vfio-pci. The *--driver* parameter can be used +to specify the desired backend driver. =20 =20 nodedev-dumpxml diff --git a/tools/virsh-nodedev.c b/tools/virsh-nodedev.c index d21b2baab6..90066249af 100644 --- a/tools/virsh-nodedev.c +++ b/tools/virsh-nodedev.c @@ -615,7 +615,7 @@ static const vshCmdOptDef opts_node_device_detach[] =3D= { {.name =3D "driver", .type =3D VSH_OT_STRING, .completer =3D virshNodeDevicePCIBackendCompleter, - .help =3D N_("pci device assignment backend driver (e.g. 'vfio' or 'k= vm')") + .help =3D N_("pci device assignment backend driver (e.g. 'vfio' or 'x= en')") }, {.name =3D NULL} }; --=20 2.35.1