From nobody Fri Apr 19 10:46:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1684337331; cv=none; d=zohomail.com; s=zohoarc; b=Kk4n8fM5a7BRnbY1gugg/haUCRO3LPU4Xu0/ux+5cFuGQi0tniPBAvUh/okRooQuvxfi/XzGw0qnGHP0ypc6reDzFAFUQrTvexuu64UgnHlc2/CjjMRIR0RCxlb+Bzt9lxjQexBQ5d9i7IZz2RXIl33cyTflQBFyLMJmqWINpoA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684337331; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=nwJPkuwIXD5BEFDvYj/gSW2KTQ8v04FaTC5c6y3ZEgc=; b=cjg/7cL01g3mAvJOjI+ITm1YvYp+TQV37YZbBwTRmqymVaUufDIIvFl33n3IBL6t9FHr7a2pHhJkYc+8CudsuelIITjsNlERWqim6rzJ/yzcsWfGW2CaUH8xinTY2ejXRGQWC+DGpZYXSG3w24rVjiijcKHgjFSrlvyddnAPMSM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1684337331112235.60366869366908; Wed, 17 May 2023 08:28:51 -0700 (PDT) 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-674-BF6JIqFCOFuejy1adLLEzA-1; Wed, 17 May 2023 11:28:47 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 119253C10231; Wed, 17 May 2023 15:28:25 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id F220B2026D16; Wed, 17 May 2023 15:28:24 +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 CB9C319465B1; Wed, 17 May 2023 15:28:24 +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 87A4419465A4 for ; Wed, 17 May 2023 15:28:23 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 7B4DAC16026; Wed, 17 May 2023 15:28:23 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id F24D4C16024 for ; Wed, 17 May 2023 15:28:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684337330; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=nwJPkuwIXD5BEFDvYj/gSW2KTQ8v04FaTC5c6y3ZEgc=; b=d7fq+MR4uMaL0aHv+Y5CCG5BKvYYpKzON1gknBZmS9OKUqcCMoScrdguaGULWj5a3JD2ZY r0fhigeT+tQ+nk7QPd4DQSkAHMSkVBktngKHYUsIQTrxkXMvKzFV2L+lFZEmTvwdb0En3J UivqaJnT83WmMxtF/+pxEZZBUR1KUD0= X-MC-Unique: BF6JIqFCOFuejy1adLLEzA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/7] docs: Remove XSLT table of contents generator Date: Wed, 17 May 2023 17:28:15 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 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 3.1 on 10.11.54.4 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: 1684337332225100001 Content-Type: text/plain; charset="utf-8" The only remaining page was 'hvsupport.html' which is generated by 'scripts/hvsupport.py'. The script already has all the data to generate the table of contents internally so we can remove the whole complicated template. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- docs/page.xsl | 55 -------------------------------------------- scripts/hvsupport.py | 10 +++++++- 2 files changed, 9 insertions(+), 56 deletions(-) diff --git a/docs/page.xsl b/docs/page.xsl index 20b49d1afd..a93f24fb09 100644 --- a/docs/page.xsl +++ b/docs/page.xsl @@ -15,65 +15,10 @@ - - - - - - -
    - - -
  • - - 0"> -
      - - -
    • - - 0"> -
        - - -
      • - - 0"> -
          - -
        • - - 0"> -
            - -
          • - -
          • -
            -
          -
          -
        • -
          -
        -
        -
      • -
        -
      -
      -
    • -
      -
    -
    -
  • -
    -
-
- diff --git a/scripts/hvsupport.py b/scripts/hvsupport.py index 89fd0d1d94..5ae93f66d3 100755 --- a/scripts/hvsupport.py +++ b/scripts/hvsupport.py @@ -423,7 +423,15 @@ print('''

libvirt API support matrix

-
    +

    This page documents which libvirt calls work on --=20 2.40.1 From nobody Fri Apr 19 10:46:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1684337334; cv=none; d=zohomail.com; s=zohoarc; b=ZwBqkDzx9NuPNgkUjqTgrJCJmrJXjShyvn0LglIqvGRLpwCvNkxI7ReF/rcIEToRX/yex7Be6Z+HS0rhnnrzOgaJIDiOMUu7+svj9HjxxNxyOt+bpKqsG4HTUlkbEi2Aip9XD290wUkGLvvDpkvz0vXQ66KYmPLQevSJWKPB268= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684337334; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=tCuuoJv1Y5zHGItQ14fsDtFETQI9aIJXzi+zB2AjmC8=; b=M6OMc5XMuo4lIq0GJ9Fhs9Gq29rcm2GPIw8Hise8mx8CioSI0SP3SuYyZXPhKKrN3zGZDKbyx1JcMQ6Mk4iZlzsllbXK3k+XJJ7zZOCEWWWbPeVZS7MKm4kyfbO+J4ayc1mwjoHNfHZV+d5JJUr8xBBvME0nZVMjPbwQZh2a7QU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1684337334006840.7448823015653; Wed, 17 May 2023 08:28:54 -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-206-yS4eUEZNMYa2EnNWy6GySg-1; Wed, 17 May 2023 11:28:49 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3FF9486A96F; Wed, 17 May 2023 15:28:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 28E15C16024; Wed, 17 May 2023 15:28:26 +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 102C019465A8; Wed, 17 May 2023 15:28:26 +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 5EB0419465A8 for ; Wed, 17 May 2023 15:28:24 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 52D56C16026; Wed, 17 May 2023 15:28:24 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id C7AEBC16044 for ; Wed, 17 May 2023 15:28:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684337332; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=tCuuoJv1Y5zHGItQ14fsDtFETQI9aIJXzi+zB2AjmC8=; b=NZxwMUx7JeJPCcHlixUc69QZx/EdG4yDQdf0P5S4cbeQpA6tAJL3spBiuZ9n94nGZdYv6b +sL+nvMy0WWMY0X8bC88KjDVYrp5hoWFH2SdPK3tG+guQNgeBDZ8rE06bQWo04EYba+dkJ 4PkMoUspTTxqhgNwRxyOPReK6rbh2mg= X-MC-Unique: yS4eUEZNMYa2EnNWy6GySg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 2/7] scripts: hvsupport: Properly register virConnectOpenAuth/virConnectOpenReadOnly APIs Date: Wed, 17 May 2023 17:28:16 +0200 Message-Id: <650e96d0d33a8b066b537c9dd29ccd19b168a27a.1684336381.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 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 3.1 on 10.11.54.8 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: 1684337335555100001 Content-Type: text/plain; charset="utf-8" Use the proper driver struct member names for the aforementioned APIs so that the fixup of the versions works properly. Currently we reported that no of the drivers supported the APIs despite being only shims above 'open'. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- scripts/hvsupport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/hvsupport.py b/scripts/hvsupport.py index 5ae93f66d3..726385f78e 100755 --- a/scripts/hvsupport.py +++ b/scripts/hvsupport.py @@ -345,9 +345,9 @@ for src in srcs: # have a bit of manual fixup todo with the per-driver versioning # and support matrix -groups["virHypervisorDriver"]["apis"]["openAuth"] =3D \ +groups["virHypervisorDriver"]["apis"]["connectOpenAuth"] =3D \ "virConnectOpenAuth" -groups["virHypervisorDriver"]["apis"]["openReadOnly"] =3D \ +groups["virHypervisorDriver"]["apis"]["connectOpenReadOnly"] =3D \ "virConnectOpenReadOnly" groups["virHypervisorDriver"]["apis"]["domainMigrate"] =3D \ "virDomainMigrate" --=20 2.40.1 From nobody Fri Apr 19 10:46:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1684337514; cv=none; d=zohomail.com; s=zohoarc; b=JJWAmQjS7yyQANjxsnq87eQ4yAqRSimaifB9k7G2WwBCiWUFPMdSo8NU5yExeF0ZpLHLiKeS43M9VQRaWFv4f4WzSVlt1DDttY1NMaAfJEtSzf6PLEzv/YjMJKpZiMqeUCaOyPq24wSDzzHEscxoCQCk0sEJVP4IP4hU95iQBjQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684337514; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=t5wRsTu/6TwzylnNJYj4pBhwqWDN9bD9xoblUGZYl5k=; b=PepNEpLdH3O4dx3N6leuL5TP+1NiRiia6gdEGgoGD5JYSypt/VvpOFFCc+hYRMr55e2lw8whBgvkd5Y3qEQvdBlwbRzMQxb9Z5VpWci6ZrUPkvzMoVT/mnwVHOSFXrTxwRtQcLFo1rlKE9nEaOQbqUIe22hHxhJ26Xjgc+p8Zvk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1684337514754654.660870441133; Wed, 17 May 2023 08:31:54 -0700 (PDT) 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-344-NUnl7kl6NuyBxzaDAKxqYA-1; Wed, 17 May 2023 11:28:48 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 846411C00AD3; Wed, 17 May 2023 15:28:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 709F8492B00; Wed, 17 May 2023 15:28:26 +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 48F6B1946A41; Wed, 17 May 2023 15:28:26 +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 556FC19465A4 for ; Wed, 17 May 2023 15:28:25 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3A5C9C16044; Wed, 17 May 2023 15:28:25 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id AB4D8C16047 for ; Wed, 17 May 2023 15:28:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684337513; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=t5wRsTu/6TwzylnNJYj4pBhwqWDN9bD9xoblUGZYl5k=; b=GEId69LW3Txx7ONkXykXXDmV/INO7Ohe1nrk9s+JGsudUbO6xEiBOfg/BoC5gMRgBK5p7w tUtAQQ06/n2Ht0VjBJZHBmCIdx38TVnuZ8fmGJ300j9kM5fiWcOhsnFiOe+9W7mLmYwprG 1agsncwC5VkZelykfT3Bb4s+6p0Qx90= X-MC-Unique: NUnl7kl6NuyBxzaDAKxqYA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 3/7] hvsupport: Split out common APIs from hypervisor API section Date: Wed, 17 May 2023 17:28:17 +0200 Message-Id: <89611776cdff6f08fe1ecc8d79eac000d4b86f94.1684336381.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 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 3.1 on 10.11.54.9 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: 1684337515328100001 Content-Type: text/plain; charset="utf-8" Common APIs such as virConnectOpen/Close and similar which are used by the non-hypervisor drivers in libvirt are grouped together with hypervisor drivers, which makes the table very wide. Split them out into a separate group and clean up the list of hypervisor drivers. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- scripts/hvsupport.py | 56 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 43 insertions(+), 13 deletions(-) diff --git a/scripts/hvsupport.py b/scripts/hvsupport.py index 726385f78e..df1122e123 100755 --- a/scripts/hvsupport.py +++ b/scripts/hvsupport.py @@ -49,8 +49,19 @@ groupheaders =3D { "virStorageDriver": "Storage Pool APIs", "virSecretDriver": "Secret APIs", "virNWFilterDriver": "Network Filter APIs", + "commonapis": "Common driver APIs", } +# List of common APIs used with all driver kinds +commonapis =3D [ + "virConnectOpen", + "virConnectClose", + "virConnectIsAlive", + "virConnectIsEncrypted", + "virConnectIsSecure", + "virConnectSupportsFeature", + "virConnectGetCapabilities", +] srcs =3D [] for root, dirs, files in os.walk(os.path.join(srcdir, "src")): @@ -222,6 +233,10 @@ apis["virDomainMigrateConfirm3Params"] =3D { # Group name -> hash of APIs { fields -> api name } groups =3D {} +groups["commonapis"] =3D { + "apis": {}, + "drivers": {} +} ingrp =3D None for drivertablefile in drivertablefiles: with open(drivertablefile) as fh: @@ -244,7 +259,10 @@ for drivertablefile in drivertablefiles: api =3D "vir" + name if api in apis: - groups[ingrp]["apis"][field] =3D api + if api in commonapis: + groups["commonapis"]["apis"][field] =3D api + else: + groups[ingrp]["apis"][field] =3D api elif re.search(r"\w+(Open|Close|URIProbe)", api) is no= t None: continue else: @@ -288,6 +306,9 @@ for src in srcs: "Group %s already contains %s" % (ingrp, impl)) groups[ingrp]["drivers"][impl] =3D {} + + if impl not in groups["commonapis"]["drivers"]: + groups["commonapis"]["drivers"][impl] =3D {} else: callbackmatch =3D re.search(r"\s*\.(\w+)\s*=3D\s*(\w+)\s*,= ?\s*" + r"(?:/\*\s*(\d+\.\d+\.\d+)\s*" + @@ -317,18 +338,23 @@ for src in srcs: "Method %s in %s is missing version" % (meth, src)) - if api not in groups[ingrp]["apis"]: + if api in groups["commonapis"]["apis"]: + groups["commonapis"]["drivers"][impl][api] =3D { + "vers": vers, + "deleted": deleted, + } + elif api in groups[ingrp]["apis"]: + groups[ingrp]["drivers"][impl][api] =3D { + "vers": vers, + "deleted": deleted, + } + else: if re.search(r"\w+(Open|Close|URIProbe)", api): continue raise Exception("Found unexpected method " + "%s in %s" % (api, ingrp)) - groups[ingrp]["drivers"][impl][api] =3D { - "vers": vers, - "deleted": deleted, - } - if (api =3D=3D "domainMigratePrepare" or api =3D=3D "domainMigratePrepare2" or api =3D=3D "domainMigratePrepare3"): @@ -345,16 +371,16 @@ for src in srcs: # have a bit of manual fixup todo with the per-driver versioning # and support matrix -groups["virHypervisorDriver"]["apis"]["connectOpenAuth"] =3D \ +groups["commonapis"]["apis"]["connectOpenAuth"] =3D \ "virConnectOpenAuth" -groups["virHypervisorDriver"]["apis"]["connectOpenReadOnly"] =3D \ +groups["commonapis"]["apis"]["connectOpenReadOnly"] =3D \ "virConnectOpenReadOnly" groups["virHypervisorDriver"]["apis"]["domainMigrate"] =3D \ "virDomainMigrate" openAuthVers =3D (0 * 1000 * 1000) + (4 * 1000) + 0 -drivers =3D groups["virHypervisorDriver"]["drivers"] +drivers =3D groups["commonapis"]["drivers"] for drv in drivers.keys(): openVersStr =3D drivers[drv]["connectOpen"]["vers"] openVers =3D 0 @@ -381,7 +407,7 @@ for drv in drivers.keys(): "vers": vers, } - +drivers =3D groups["virHypervisorDriver"]["drivers"] # Another special case for the virDomainCreateLinux which was replaced # with virDomainCreateXML groups["virHypervisorDriver"]["apis"]["domainCreateLinux"] =3D \ @@ -389,7 +415,12 @@ groups["virHypervisorDriver"]["apis"]["domainCreateLin= ux"] =3D \ createAPIVers =3D (0 * 1000 * 1000) + (0 * 1000) + 3 -for drv in drivers.keys(): +for drv in list(drivers.keys()): + # drop drivers from the "virHypervisorDriver" group which have only co= mmon APIs + if len(drivers[drv]) =3D=3D 0: + drivers.pop(drv) + continue + if "domainCreateXML" not in drivers[drv]: continue createVersStr =3D drivers[drv]["domainCreateXML"]["vers"] @@ -414,7 +445,6 @@ for drv in drivers.keys(): "vers": vers, } - # Finally we generate the HTML file with the tables print(''' --=20 2.40.1 From nobody Fri Apr 19 10:46:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1684337487; cv=none; d=zohomail.com; s=zohoarc; b=RW0R2XFUmpnRR7qblVOQos40mx9lHio1w5qiu5aT9Uw5JAEHdEUcy1ElZAW+xaWQVNbSwPFocoPTwH0Q/Ob4pq7o5l+Okuq1ciJklTOhis/YIDQyiocQ8QoSkrtCdr5p6Q3UDCH7I4vtP4+2Hyxr/kVndCacHQZPbhI1i73lHaQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684337487; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=9jz1hGSU+Qn8T4gI4aqUp1xLJk/LH0SB4j7UNf/j/1Q=; b=W8hbYDfQzk3Gobdfcz6kbMRflnhcWVUVZfMIOoNc2fY5BLfulNxO4DOzNLSeKnCnM095l+c1Nj6vtZwrnOrQktWna6sohSM2D2M+nlxNmY0FiNu7nB2vxBsdytxfu427s9nXy028RCDRt+C+4nnZLCsvsr1X7xiYW+99wOG/8vo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1684337487862167.73960376333525; Wed, 17 May 2023 08:31:27 -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-84-9UiSoY56Mfmt-WK8nMqjJA-1; Wed, 17 May 2023 11:28:52 -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 E6965872015; Wed, 17 May 2023 15:28:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id C85B01401C56; Wed, 17 May 2023 15:28:26 +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 8006E1946A47; Wed, 17 May 2023 15:28:26 +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 2DD3419465BA for ; Wed, 17 May 2023 15:28:26 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 09FB5C15BA0; Wed, 17 May 2023 15:28:26 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id 84580C164EC for ; Wed, 17 May 2023 15:28:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684337486; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=9jz1hGSU+Qn8T4gI4aqUp1xLJk/LH0SB4j7UNf/j/1Q=; b=O0v9xAIzhN3MHjtzGm9x3uC9v+3HIyLZtK0nQSexi/5bNyl4Hn9QEH9xZljrHR21OP745h a1p/rV1PIUfbQauD4vV+I9+ywnUYblLHN515xIrf45A7/CT7p0a0w6CUTVJM6x8XX10db+ BwJifs+r3nhER7SnS7NLzOQ3f2M3iAw= X-MC-Unique: 9UiSoY56Mfmt-WK8nMqjJA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 4/7] css: Remove override of width for 'hvsupport' page Date: Wed, 17 May 2023 17:28:18 +0200 Message-Id: <79e709c085447ea1163ce1d084a201e2cf8c345e.1684336381.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 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 3.1 on 10.11.54.7 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: 1684337489033100001 Content-Type: text/plain; charset="utf-8" Now that the table is not so wide we can treat it as any other page. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- docs/css/libvirt.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/css/libvirt.css b/docs/css/libvirt.css index 8dfec17047..7021d0b599 100644 --- a/docs/css/libvirt.css +++ b/docs/css/libvirt.css @@ -107,8 +107,6 @@ main, main#the-virtualization-api, #the-virtualization-api.document, -main#hvsupport, -#hvsupport.document, main#documentation, #documentation.document, main#knowledge-base, --=20 2.40.1 From nobody Fri Apr 19 10:46:20 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=1684337384; cv=none; d=zohomail.com; s=zohoarc; b=Nf3XGf8MKQIRVwFhgPMi3dS9ErYqJuX/90dEFysQbf/+1xTQNtHe/XD01OH2FLxe2hGKwov+MaoIHBv6dANARluy77wobR1SHzC4y66YzjmFAKn4LBggMN6yjat35qngDzzCD+9HzizqyVVIlwwhQnQLdLXpB/rVpJv7mP8AAHQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684337384; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=iXotWCH6YpLf96miMuTxsoEeLg51dA0P8JT+lJuvgwo=; b=dHkVqAnxXMa2jUCJtWm81If80tBKc1CQM1gijqWzIkr8ke5ckLIk9XVxZpFdwWmcbmuxXaV0uYep0NFuUP9lYhiKO8XZrL1yeloKn9HqLYmgcogsBYJ6iGhqDPDE4ynYsv3A9m6vwTldnnFCgTiW0D6yPlIAe3mt4k4usl3VM04= 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 1684337384342135.12473979506626; Wed, 17 May 2023 08:29:44 -0700 (PDT) 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-85-QrrY7NKCPjGhBh1sMhKnCg-1; Wed, 17 May 2023 11:28:52 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B643A2A2AD7D; Wed, 17 May 2023 15:28:27 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id A2E2D2026D25; Wed, 17 May 2023 15:28:27 +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 93A7519465A8; Wed, 17 May 2023 15:28:27 +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 EFE6919465A8 for ; Wed, 17 May 2023 15:28:26 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id E2628C164E8; Wed, 17 May 2023 15:28:26 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id 62376C16046 for ; Wed, 17 May 2023 15:28:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684337383; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=iXotWCH6YpLf96miMuTxsoEeLg51dA0P8JT+lJuvgwo=; b=Wvt0Jj/2NdSVz43QRcT2Apts6lXSXGcrzdzxf/LnnNlhNsllo1uzrgPE9ibxJe9Ir3s62F bGSvvdXp0xFWyrirs2XO8EbVwhojIo+6euKGbqy+hPdMrC/a/OLxjr19D89T+WpLwxTxET 31kqFtE1+zX86gRrDp5v8zV/VXUfSww= X-MC-Unique: QrrY7NKCPjGhBh1sMhKnCg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 5/7] docs: html: Add a manually written index page Date: Wed, 17 May 2023 17:28:19 +0200 Message-Id: <46aa8dcdf6a739205ca7f6e9081a8fd1eb965f90.1684336381.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 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 3.1 on 10.11.54.4 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: 1684337384608100002 Content-Type: text/plain; charset="utf-8" The auto-generated index contains only references to one run of the generator but we in total run it 4 times missing the admin, lxc, and qemu specific apis. Rewrite it manually so that we can drop the generator for it. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- docs/html/index.rst | 65 +++++++++++++++++++++++++++++++++++++++++++ docs/html/meson.build | 46 ++++++++++++++++++++++++++++-- 2 files changed, 109 insertions(+), 2 deletions(-) create mode 100644 docs/html/index.rst diff --git a/docs/html/index.rst b/docs/html/index.rst new file mode 100644 index 0000000000..7977ec1f05 --- /dev/null +++ b/docs/html/index.rst @@ -0,0 +1,65 @@ +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D +Reference Manual for libvirt +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D + +.. contents:: + +Main libvirt APIs +----------------- + +`libvirt-common `__ + common macros and enums for the libvirt and libvirt-admin library + +`libvirt-domain-checkpoint `__ + APIs for management of domain checkpoints + +`libvirt-domain-snapshot `__ + APIs for management of domain snapshots + +`libvirt-domain `__ + APIs for management of domains + +`libvirt-event `__ + APIs for management of events + +`libvirt-host `__ + APIs for management of hosts + +`libvirt-interface `__ + APIs for management of interfaces + +`libvirt-network `__ + APIs for management of networks + +`libvirt-nodedev `__ + APIs for management of nodedevs + +`libvirt-nwfilter `__ + APIs for management of nwfilters + +`libvirt-secret `__ + APIs for management of secrets + +`libvirt-storage `__ + APIs for management of storage pools and volumes + +`libvirt-stream `__ + APIs for management of streams + +Error handling +-------------- + +`virterror `__ + error handling interfaces for the libvirt library + +Special specific APIs +--------------------- + +`admin interface `__ + APIs for management of the libvirt daemons + +`qemu driver `__ + qemu-driver specific APIs + +`lxc driver `__ + lxc-driver specific APIs diff --git a/docs/html/meson.build b/docs/html/meson.build index b18a8ccb5f..4d8d44d783 100644 --- a/docs/html/meson.build +++ b/docs/html/meson.build @@ -8,7 +8,6 @@ index_api_gen =3D custom_target( docs_api_xml, ], output: [ - 'index.html', 'libvirt-libvirt-common.html', 'libvirt-libvirt-domain.html', 'libvirt-libvirt-domain-checkpoint.html', @@ -28,7 +27,6 @@ index_api_gen =3D custom_target( xsltproc_prog, '--nonet', '-o', docs_builddir, '--stringparam', 'builddir', meson.project_build_root(), '--stringparam', 'timestamp', docs_timestamp, - '--stringparam', 'indexfile', 'index.html', '@INPUT@', ], install: true, @@ -77,6 +75,50 @@ foreach file : docs_html_gen install_web_files +=3D '@0@:@1@'.format(file.full_path(), docs_html_dir = / 'html') endforeach +html_xslt_gen_install_dir =3D docs_html_dir / 'html' +html_xslt_gen =3D [] + +html_xslt_gen +=3D { + 'name': 'index', + 'file': docs_rst2html5_gen.process('index.rst'), + 'source': 'docs' / 'html' / 'index.rst', + 'href_base': '../', + } + +# --- begin of XSLT processing --- + +foreach data : html_xslt_gen + html_filename =3D data['name'] + '.html' + + html_file =3D custom_target( + html_filename, + input: data.get('file', data['name'] + '.html.in'), + output: html_filename, + command: [ + xsltproc_prog, + '--stringparam', 'pagesrc', data.get('source', ''), + '--stringparam', 'builddir', meson.project_build_root(), + '--stringparam', 'timestamp', docs_timestamp, + '--stringparam', 'href_base', data.get('href_base', ''), + '--nonet', + site_xsl, + '@INPUT@', + ], + depends: data.get('depends', []), + depend_files: [ page_xsl ], + capture: true, + install: true, + install_dir: html_xslt_gen_install_dir, + ) + + install_web_deps +=3D html_file + install_web_files +=3D html_file.full_path() + ':' + html_xslt_gen_insta= ll_dir +endforeach + +html_xslt_gen =3D [] + +# --- end of XSLT processing --- + test( 'check-html', xmllint_prog, --=20 2.40.1 From nobody Fri Apr 19 10:46:20 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=1684337406; cv=none; d=zohomail.com; s=zohoarc; b=KG2gU/OFcjHeDyHjkSp9sklVdweUwx2rVyZq/vsdXC801mMVhDzhFi5FqVdAHRNw4ko4HJ7uDYqyHPn16qRp+H0dAsXx5B4kNlSAo999MoFPnIKeesRJWU0+cKMnjrqognBV4F87XGg/Eb0wrkH9ZdQLpUB3t2jBSJva6m1OPVM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684337406; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=H+rGFOBHeYHwb+elGB3TvrH2s+xGllWUBCLedExoFpA=; b=kN2gh+Ahjhi7dHXGcKdQcg5ADBG2jBfV5WlfQYXpXesiDHg6uaSXgutP9LHfXljwSF14KXjMWUk1uT91u1UsPNjiX1LZsRrVtaSxi56XK02E/Z9trsC4/30pZiqvRszxoEYEhGXwyqP4AKktTz5Hd4GxzixEfhnywCmbAcw4thA= 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 1684337406119218.76860084602606; Wed, 17 May 2023 08:30:06 -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-25-5h3McU_lOeOsu1xO5ztpkw-1; Wed, 17 May 2023 11:28:51 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D8DD68C0901; Wed, 17 May 2023 15:28:28 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id C5E2540C2063; Wed, 17 May 2023 15:28:28 +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 B66DA19465A8; Wed, 17 May 2023 15:28:28 +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 DCABE19465BC for ; Wed, 17 May 2023 15:28:27 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id CE879C16024; Wed, 17 May 2023 15:28:27 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id 45FA5C15BA0 for ; Wed, 17 May 2023 15:28:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684337405; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=H+rGFOBHeYHwb+elGB3TvrH2s+xGllWUBCLedExoFpA=; b=f13GSTrCHwSmlMGHY+qcdTjw2KPXM8dFihE7vuNocXdxfhy6T3E4KhAzpJnWSDtQ8Wf955 HJ6OZk5JUZsUi8r25MXze5Yu9WYvnmD/AyHz1wXrDowNxt5z0ol2210KTx26dH/ErqUICO 7EhIl6tWqsEDf9ygA6ib7Di4JT2kdQc= X-MC-Unique: 5h3McU_lOeOsu1xO5ztpkw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 6/7] docs: newapi.xsl: Remove support for generating index page Date: Wed, 17 May 2023 17:28:20 +0200 Message-Id: <095524782c99abfa80188466c5fa0926cd283aad.1684336381.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 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 3.1 on 10.11.54.1 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: 1684337406790100001 Content-Type: text/plain; charset="utf-8" Since we need to generate API docs for multiple input files the index page is not useful for us and was replaced by a manual one. Drop the XSL for generating it. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- docs/newapi.xsl | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index cc08b8460a..cc683707cf 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -22,8 +22,6 @@ - - html ../ @@ -796,38 +794,7 @@ - - Reference Manual for - <!DOCTYPE html> - - - -

    -

    Table of Contents

    -
      - -
    - - -
    - - - - - - - - - - - - - --=20 2.40.1 From nobody Fri Apr 19 10:46:20 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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.133.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=1684337410; cv=none; d=zohomail.com; s=zohoarc; b=IEP/kv2aHE8Owxpwy6m4cDf+rWJI4lcMylsrIlt5fFA2TVl8ZOLz9PoUZnzdXpr+2RI6soS3RlzSkKCgpHeiQgy1ihleQso7ZxF01PCDPJFLSFeRPBpAZ60BjuWt1TqIICNShruyhSM0IzY7qdcqdLQtCtceuRIpJtEVLPKusP8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684337410; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=g3jlnjKjYfFORCbQpfuGRyoKk+X1SQb1LSZrKxWDY70=; b=KhHNZ/Vv1mhikO/wtlBSaeZAtapnWfQY43zVnt20A2C3sjvfU3GDAcE7uJ2dk9ZV2O961WTM6Z58jSqDbIhO3K3QMsAwg6iXnD7gbYhq4UrOrSqHsi1OnqzIxtUxmUKC8mCSNBrALModQdUipGeF14KY6lR2tLNK82wNGmVnhSE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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.133.124]) by mx.zohomail.com with SMTPS id 1684337410055275.99402550687887; Wed, 17 May 2023 08:30:10 -0700 (PDT) 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-553-X3YajDxjPwKYXa8VFNPZ0w-1; Wed, 17 May 2023 11:28:51 -0400 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 7B84D2814260; Wed, 17 May 2023 15:28:30 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2AE1C1121318; Wed, 17 May 2023 15:28:30 +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 EF36419465A8; Wed, 17 May 2023 15:28:29 +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 BBBBB19465B2 for ; Wed, 17 May 2023 15:28:28 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id B0A25C15BA0; Wed, 17 May 2023 15:28:28 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2DF2EC16044 for ; Wed, 17 May 2023 15:28:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684337409; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=g3jlnjKjYfFORCbQpfuGRyoKk+X1SQb1LSZrKxWDY70=; b=W63/dcbTK+q18fuKR8HKoqaXFH7VveTcEs0z+BCq2LXapMU9iA4pM8IXVdYH1dnOam+IqE wpdHggNaQNv3mrH4HNpS/QuTiiB6nJwqdag4hcJ5MwnVqQv2d3hya+aa3CKK3ws0xW6k2+ kFlWU/q/V6LIvXqTLbguIvvF9mS3YOA= X-MC-Unique: X3YajDxjPwKYXa8VFNPZ0w-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 7/7] docs: xsl: Simplify templating XSL Date: Wed, 17 May 2023 17:28:21 +0200 Message-Id: <2b25d6bf46f3ea3c7b0c2a1981df2b2770831759.1684336381.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 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 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: 1684337410797100001 Content-Type: text/plain; charset="utf-8" Wrap the auto-generated pages (API ref and hvsupport.html) in the proper top level element similarly to what the pages generated from RST have to remove the extra case when templating our web. (Best viewed with 'git show -w') Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- docs/newapi.xsl | 86 ++++++++++++++++++++++---------------------- docs/page.xsl | 11 ------ scripts/hvsupport.py | 5 +-- 3 files changed, 47 insertions(+), 55 deletions(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index cc683707cf..a8797f800d 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -733,54 +733,56 @@ -

    - -

    Table of Contents

    - 0"> -

    Macros

    -
    -            
    +        
    +

    + +

    Table of Contents

    + 0"> +

    Macros

    +
    +              
    +                
    +              
    +            
    +
    + 0"> +

    Types

    +
    +              
    +                
    +              
    +            
    +
    + 0"> +

    Functions

    +
    +              
    +                
    +              
    +            
    +
    + +

    Description

    + + 0"> +

    Macros

    + -
    -
    - 0"> -

    Types

    -
    -            
    +          
    +           0">
    +            

    Types

    + -
    -
    - 0"> -

    Functions

    -
    -            
    +          
    +           0">
    +            

    Functions

    + -
    -
    - -

    Description

    - - 0"> -

    Macros

    - - - -
    - 0"> -

    Types

    - - - -
    - 0"> -

    Functions

    - - - -
    + +
    diff --git a/docs/page.xsl b/docs/page.xsl index a93f24fb09..c92ceffec7 100644 --- a/docs/page.xsl +++ b/docs/page.xsl @@ -73,17 +73,6 @@ - - -
    - - - - - - -
    -
    diff --git a/scripts/hvsupport.py b/scripts/hvsupport.py index df1122e123..be6bf7b0d2 100755 --- a/scripts/hvsupport.py +++ b/scripts/hvsupport.py @@ -450,7 +450,8 @@ for drv in list(drivers.keys()): print(''' - + +

    libvirt API support matrix

    \n\n") --=20 2.40.1