From nobody Mon Nov 23 04:44:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1792052660; cv=none; d=zohomail.com; s=zohoarc; b=HlrS83VySfu9IDOaYCy8tfSECpciKv8GHaauX+lzbyJrwUj8JxHmCqrULFywHq3einzrNIXQG8cWzdUgmNlCIp2keNkEL0zyU2WKVutgKJqAmTcPUaaa7oNPlrS7b++lQ8GFsJyr3UtzZRmIbvlNarfXfXcAqOmeKBdIfvser3s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1792052660; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=gMbH46NIuuR3tz1VhQI6SevZ/s/DcUHVJE6FSXi7Zjw=; b=juj+PSG10sUS+ZYFwNOGhtzvfsy4Z6j+4MorZE1eohh/imCdugF3LWTNRyoXh1SRhcg8YAO/bJ5MUv6w/2RaVUAsCqn8ubt/DuxpBTfh89YXrvfYEiKmndtnv7y2XMpv+OUrMlWcYZJgCxOVUjJA4pkn43gsf0dGM+11gJX8lz0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1792052660944785.1199351802532; Thu, 15 Oct 2026 01:24:20 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xHGkc-0006c5-RP; Thu, 15 Oct 2026 04:23:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xHGkU-0006ah-R1 for qemu-devel@nongnu.org; Thu, 15 Oct 2026 04:23:39 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xHGkR-00076n-SC for qemu-devel@nongnu.org; Thu, 15 Oct 2026 04:23:38 -0400 Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-633-ssRfDCiaNIKxS6Ueaj_SRg-1; Thu, 15 Oct 2026 08:23:32 +0000 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 74C8E180065C; Thu, 15 Oct 2026 08:23:31 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.44.32.37]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id CC228300072E; Thu, 15 Oct 2026 08:23:30 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id D62011800399; Thu, 15 Oct 2026 10:15:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1792052614; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gMbH46NIuuR3tz1VhQI6SevZ/s/DcUHVJE6FSXi7Zjw=; b=IMBbbOjJBrjEmEuRoq0h7OkuF5XYkjBjuqZ1sOuaizcZ7Q2GyuCCtB/+3myQc0vDfmUOBl IPkAtb60OsxJhNV3bif3LKouhw/hUeD1EyzJz1rgLmWkKh52NbfIkVEWFnpY4oIZhW7fDK t6B9FzBWWMMymgHSTEZolf0XdqJaKig= X-MC-Unique: ssRfDCiaNIKxS6Ueaj_SRg-1 X-Mimecast-MFC-AGG-ID: ssRfDCiaNIKxS6Ueaj_SRg_1792052611 From: Gerd Hoffmann To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , "Michael S. Tsirkin" , Gerd Hoffmann Subject: [PATCH 1/2] pci id: clarify pci subsystem id usage Date: Thu, 15 Oct 2026 10:15:43 +0200 Message-ID: <20261015081544.40310-2-kraxel@redhat.com> In-Reply-To: <20261015081544.40310-1-kraxel@redhat.com> References: <20261015081544.40310-1-kraxel@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=kraxel@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1792052663552158500 Content-Type: text/plain; charset="utf-8" Qemu uses the pci subsystem id not only for emulated devices, but also for virtio devices and generic pci class devices such as pci bridges, xhci + nvme controllers etc. Update the documentation accordingly. Signed-off-by: Gerd Hoffmann --- docs/specs/pci-ids.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/specs/pci-ids.rst b/docs/specs/pci-ids.rst index 261b0f359fe5..832f8bd1b802 100644 --- a/docs/specs/pci-ids.rst +++ b/docs/specs/pci-ids.rst @@ -46,8 +46,9 @@ maintained as part of the virtio specification. upstream merge or shipping a distro/product) to avoid conflicts. =20 1af4:1100 - Used as PCI Subsystem ID for existing hardware devices emulated - by QEMU. + Used as PCI Subsystem ID for existing hardware devices emulated by + QEMU, such as the intel chipset devices. Also used for virtio + devices and generic pci class devices (1b36:00xx, see below). =20 1af4:1110 ivshmem device (:doc:`ivshmem-spec`) --=20 2.56.0 From nobody Mon Nov 23 04:44:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1792052655; cv=none; d=zohomail.com; s=zohoarc; b=M0+JAweWHKAV842P4dPfjyDDEm4D3MNITS+CgtwcwTHE8QDeIlHt4zqRWtpZH2EAsRcQ7OyC47uKfBLNjaNHhxjL4AKflnjOoC4JVding6m8ZhKuoj8Su7YWspOdYox7BordUSJnZKaThfJKArszUX1jdczziRVX1XLx+/m0dTE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1792052655; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=KdB3Ki1kZ6pWi+3pldEJWVBk6otasEeXjyORPwJjOfE=; b=Sz0e5f3sJ9vSjkyCtPICU+hSQRozNRfsNgGXvkuqg6VSEsWqhKRkx5OI3Xatnsnr6tKTG5rvziNx1BEGL9jZOO0Fv3mW4fWo4+EvIVYKuqL7u1CZ7IipXU75/TQpkjsUNjquiWcb8WAE9dBKEZai63F2YLqa/UuPzm+MV11wM6E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1792052655898734.4745359577646; Thu, 15 Oct 2026 01:24:15 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xHGkb-0006bd-NX; Thu, 15 Oct 2026 04:23:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xHGkV-0006aw-QC for qemu-devel@nongnu.org; Thu, 15 Oct 2026 04:23:40 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xHGkT-00076u-Jx for qemu-devel@nongnu.org; Thu, 15 Oct 2026 04:23:39 -0400 Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-350-pOdS-smDOWOIAZAldGjuxA-1; Thu, 15 Oct 2026 08:23:32 +0000 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 92D041955F2A; Thu, 15 Oct 2026 08:23:31 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.44.32.37]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id BE6DD1956087; Thu, 15 Oct 2026 08:23:30 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id E497718003AE; Thu, 15 Oct 2026 10:15:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1792052615; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KdB3Ki1kZ6pWi+3pldEJWVBk6otasEeXjyORPwJjOfE=; b=fJCErzhuF4hzR8mD+J+d8mix4OPdUougIfg65wKFYwRkps6jrUFhnhyWoYgVjq0y8NnL/D +TRMaseugWUCZR3I2Q4TGOmy451TIhdCO4M4vep8ktLWM2ymW/JYojCyW13VOV/A5RoKR6 uCNTAo5mxeBKHplGuJ/C5O1A/zmrxLs= X-MC-Unique: pOdS-smDOWOIAZAldGjuxA-1 X-Mimecast-MFC-AGG-ID: pOdS-smDOWOIAZAldGjuxA_1792052611 From: Gerd Hoffmann To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , "Michael S. Tsirkin" , Gerd Hoffmann , =?UTF-8?q?=C4=90=E1=BA=A1t=20Ng=C3=B4=20Qu=E1=BB=91c?= Subject: [PATCH 2/2] pci id: assign pci subsystem id for osmates Date: Thu, 15 Oct 2026 10:15:44 +0200 Message-ID: <20261015081544.40310-3-kraxel@redhat.com> In-Reply-To: <20261015081544.40310-1-kraxel@redhat.com> References: <20261015081544.40310-1-kraxel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists1p.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=kraxel@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 10 X-Spam_score: 1.0 X-Spam_bar: + X-Spam_report: (1.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1792052657547158500 Allows the guest driver to identify the host implementation, useful to be more specific when applying quirks etc. Cc: =C4=90=E1=BA=A1t Ng=C3=B4 Qu=E1=BB=91c Signed-off-by: Gerd Hoffmann --- docs/specs/pci-ids.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/specs/pci-ids.rst b/docs/specs/pci-ids.rst index 832f8bd1b802..45e0d22e71bd 100644 --- a/docs/specs/pci-ids.rst +++ b/docs/specs/pci-ids.rst @@ -50,6 +50,10 @@ maintained as part of the virtio specification. QEMU, such as the intel chipset devices. Also used for virtio devices and generic pci class devices (1b36:00xx, see below). =20 +1af4:1101 + PCI Subsystem ID for OSMates (github.com/osmates), will be used + for virtio devices and pci class devices (xhci, nvme). + 1af4:1110 ivshmem device (:doc:`ivshmem-spec`) =20 --=20 2.56.0