From nobody Fri May 17 12:14:53 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=1670839268; cv=none; d=zohomail.com; s=zohoarc; b=AX/ZJmf6dE+FteAmx2jPYgwtw8phnqbnhE0SDn1MbIUK510O8HRQI53GlJzZzwwbbsiiODMWiVnQLphbfmauVTHrxpWM55gO62WBUNGYm9UWVvntytQPX4qsErcjNMhog0bZAfCoBr7IutQWwcyXqmLpqndiKSyRxvMSXVRa/Ng= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1670839268; 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=M7rwQXwOofhJE/VkLpAvLg+TGUeG21BCxAE35+6bEMA=; b=cZOHLt8HgQnIRfAx06VOG+XXyKA4b8HSR1K00l2cjBnpWaObOPo4pFEuBeGjXvX4X3z6yaJKHZ5LK5VmAHuyTT5R8SsuGYUw9Izb4pkf1jxvfQ4CsYMRRqMvP1EFBrgCSTGlVMHzA0uo670TMoDIPtGsdRiOTITdQhKjyEfdEps= 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 1670839268870964.660176634666; Mon, 12 Dec 2022 02:01:08 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-91-_7mz4BW_PbiZ6wdxapoHpQ-1; Mon, 12 Dec 2022 05:01:05 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 89ED31C08781; Mon, 12 Dec 2022 10:01:02 +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 2F1861121331; Mon, 12 Dec 2022 10:01:01 +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 DFAF31946588; Mon, 12 Dec 2022 10:01:00 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 1952C1946588 for ; Mon, 12 Dec 2022 10:00:59 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id EBB852026D68; Mon, 12 Dec 2022 10:00:58 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6FF542026D4B for ; Mon, 12 Dec 2022 10:00:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670839267; 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=M7rwQXwOofhJE/VkLpAvLg+TGUeG21BCxAE35+6bEMA=; b=dozrI7Pj60wKBodutjjIu6vEC7auIr4LOHUnZowzBs9+O0bETi503uI9Wx3wD4v1zC8C/W tkRm8K7RyzjgEiUSg0D1FHng1NXV4/YNlm8zxfooPRj3lY9ySyDcZ6zw7xk+P0mACDYxDU 9vnIcPzgyhWxu9B5PoSOqz1+OUPZDZs= X-MC-Unique: _7mz4BW_PbiZ6wdxapoHpQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] formatcaps: Update capabilities example Date: Mon, 12 Dec 2022 11:00:56 +0100 Message-Id: <9e9d15793bbb22095d10e5250af59e67d39453bf.1670839256.git.mprivozn@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 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 3.1 on 10.11.54.3 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: 1670839269273100001 Content-Type: text/plain; charset="utf-8"; x-default="true" In the formatcaps.rst we give an example output of capabilities. Well, there are couple of issues with it: 1) We show nested under /capabilities/host/cpu. There's no such element and never was. 2) The ordering of elements is corrupted. 3) There is plenty of elements missing. Fix these by showing an actual output of 'virsh capabilities' as obtained on my machine. Signed-off-by: Michal Privoznik Reviewed-by: J=C3=A1n Tomko --- docs/formatcaps.rst | 230 +++++++++++++++++++++++++++++++++----------- 1 file changed, 176 insertions(+), 54 deletions(-) diff --git a/docs/formatcaps.rst b/docs/formatcaps.rst index 39b1fb78ac..f7e5342654 100644 --- a/docs/formatcaps.rst +++ b/docs/formatcaps.rst @@ -143,60 +143,182 @@ capabilities enabled in the chip and BIOS you will s= ee: =20 :: =20 - - - - x86_64 - - - - core2duo - Intel - - - - - - - - - ... - - - - - - - + =20 - - - xen - - 64 - - /usr/lib64/xen/bin/qemu-dm - - - - + + 7b55704c-29f4-11b2-a85c-9dc6ff50623f + + x86_64 + Skylake-Client-noTSX-IBRS + Intel + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tcp + rdma + + + + + + 32498112 + 6813808 + 2048 + 1 + + + + + + + + + + + + + + + + + + + + + none + 0 + + + dac + 0 + +77:+77 + +77:+77 + + =20 - - - hvm - - 32 - - /usr/lib/xen/bin/qemu-dm - pc - isapc - /usr/lib/xen/boot/hvmloader - - - - - - + + hvm + + 64 + /usr/bin/qemu-system-x86_64 + pc-i440fx-7.1 + pc + pc-q35-5.2 + pc-i440fx-2.12 + pc-i440fx-2.0 + pc-i440fx-6.2 + pc-q35-4.2 + pc-i440fx-2.5 + pc-i440fx-4.2 + pc-i440fx-5.2 + pc-i440fx-1.5 + pc-q35-2.7 + pc-q35-7.1 + q35 + pc-i440fx-2.2 + pc-i440fx-2.7 + pc-q35-6.1 + pc-q35-2.4 + pc-q35-2.10 + x-remote + pc-q35-5.1 + pc-i440fx-1.7 + pc-q35-2.9 + pc-i440fx-2.11 + pc-q35-3.1 + pc-i440fx-6.1 + pc-q35-4.1 + pc-i440fx-2.4 + pc-i440fx-4.1 + pc-i440fx-5.1 + pc-i440fx-2.9 + isapc + pc-i440fx-1.4 + pc-q35-2.6 + pc-i440fx-3.1 + pc-q35-2.12 + pc-q35-7.0 + pc-i440fx-2.1 + pc-q35-6.0 + pc-i440fx-2.6 + pc-q35-4.0.1 + pc-i440fx-7.0 + pc-i440fx-1.6 + pc-q35-5.0 + pc-q35-2.8 + pc-i440fx-2.10 + pc-q35-3.0 + pc-i440fx-6.0 + pc-q35-4.0 + microvm + pc-i440fx-2.3 + pc-i440fx-4.0 + pc-i440fx-5.0 + pc-i440fx-2.8 + pc-q35-6.2 + pc-q35-2.5 + pc-i440fx-3.0 + pc-q35-2.11 + + + + + + + + + + + =20 - ... - + --=20 2.37.4