From nobody Sun Apr 28 07:31:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1611067141; cv=none; d=zohomail.com; s=zohoarc; b=ZSPgIW+YacL9QxUdNBZC7j4GhJBnCuMVipLdt9/hELzqSCFp3GMSJjVvxrcAJl6u7k9HZOO12KIzQS83SV/hDogZfoVDR2NX+qjmEqiao2rIgG1OZyQd1ybZNKSwQv7cfrNF0BzujGrX2QShtNex0zv0Y3SHkgSR5oTX69fHSS0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1611067141; 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=K2NQAPJYz0aEdSjV6nBT7Xyjo7c44LzC4Gsk4JWei48=; b=Iuyu7/TKj3/+aPmAwyFyF/gn3KqrAL+JydEtq+w8joTPndPjfcRtwQeVsdfdQo3JCZEPmdH0ImmagKhK4djGFLejeOYMFLUCQ85UkAcYKsb2aZq2b9cumTAcX0uH7UPpYTYjEEdn7UC+0aQHlgii3TPzSakiNbvaxSvYNzEP86E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 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-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1611067141540421.25892204254285; Tue, 19 Jan 2021 06:39:01 -0800 (PST) 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-403-PeUB74atPQ6mHl7UinTxeA-1; Tue, 19 Jan 2021 09:38:57 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2346D1934105; Tue, 19 Jan 2021 14:38:51 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B21035D9F8; Tue, 19 Jan 2021 14:38:50 +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 A5C034A7C6; Tue, 19 Jan 2021 14:38:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 10JEcmsC021600 for ; Tue, 19 Jan 2021 09:38:48 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1086910021AA; Tue, 19 Jan 2021 14:38:48 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.40.192.215]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 489301002D43 for ; Tue, 19 Jan 2021 14:38:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611067140; 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=K2NQAPJYz0aEdSjV6nBT7Xyjo7c44LzC4Gsk4JWei48=; b=f5wdyGmlYuFabhf5d4urBm3mAQqiNyhY2bOkf1jGc9XtGBRxCjKdXwtFm21NX0G9qNKYbJ nS4VPQ2BoxIcyw2Sk+p8xRvD7I1rKaYcNdOErYcKlNaQIO1DFn4gnS5Hr3vOLq8YOlwsme B0Q/dyjJ7UfwBa66nVGVOZ0F8M/b/Yw= X-MC-Unique: PeUB74atPQ6mHl7UinTxeA-1 From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH] docs: Clarify use of virtio-scsi model for SCSI controllers Date: Tue, 19 Jan 2021 15:38:40 +0100 Message-Id: <20210119143840.184363-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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.79 on 10.5.11.14 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) Content-Type: text/plain; charset="utf-8" The current formulation can lead people to believe SCSI controllers only allow the virtio-scsi model, but really the only difference is that you have to use model=3D'virtio-scsi' where you would use model=3D'virtio' for another device. Signed-off-by: Andrea Bolognani Reviewed-by: Jiri Denemark --- docs/formatdomain.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst index dd197d8f6a..af540391db 100644 --- a/docs/formatdomain.rst +++ b/docs/formatdomain.rst @@ -3428,8 +3428,10 @@ machine types, accept the following ``model`` values: While the information outlined above applies to most virtio devices, there= are a few exceptions: =20 -- for SCSI controllers, ``virtio-scsi`` must be used instead of ``virtio`= ` for - backwards compatibility reasons; +- for SCSI controllers, there is no ``virtio`` model available due to + historical reasons: use ``virtio-scsi`` instead, which behaves the same= as + ``virtio`` does for other devices. Both ``virtio-transitional`` and + ``virtio-non-transitional`` work with SCSI controllers; - some devices, such as GPUs and input devices (keyboard, tablet and mous= e), are only defined in the virtio 1.0 spec and as such don't have a transi= tional variant: the only accepted model is ``virtio``, which will result in a --=20 2.26.2