From nobody Mon Nov 23 04:26:41 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=1793361800; cv=none; d=zohomail.com; s=zohoarc; b=e3nYppr0AsC1qaX59c+Rz2RgRecRrwp2Zhq55HzxlnAZ1BAp/wEXiNp9y8RGEQ6qbU2XOhiyA4+AnMmVdu9e1BvzFrx3f63xJMQCgQTzXFSYUNFYOsrjsNR2L4HYvmm3krXQL+wG1T+ZrqlKw5DjcVoXsFVMVacVe+nAuCG4zGY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793361800; 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=DDF3CxINJ8bhVKNI0MFx1KIw4FHmyDg0JfkDoI/xiFhVI+guuFmfJvedqzqkB3FJUtEwFA4LEYsQPb6oejxTVRYEowbsB6iNeQnYD5hk2psfGHcMXhbj8kjKZY5GHslqX4WuitzMskQGNCtc/WvUp3+Y3iDxBPM+Z8A9QRB5c50= 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 1793361800909914.7063423785448; Fri, 30 Oct 2026 05:03:20 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xMlJo-0004jh-U5; Fri, 30 Oct 2026 08:02:48 -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 1xMlJn-0004j4-1m for qemu-devel@nongnu.org; Fri, 30 Oct 2026 08:02:47 -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 1xMlJk-0006Pz-DS for qemu-devel@nongnu.org; Fri, 30 Oct 2026 08:02:46 -0400 Received: from mx-prod-mc-06.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-495-qi_V1V9EOJ6L76Olrf62Bw-1; Fri, 30 Oct 2026 08:02:37 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 052491800990; Fri, 30 Oct 2026 12:02:37 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.44.48.136]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 5F9981800480; Fri, 30 Oct 2026 12:02:36 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 5223418326C7; Fri, 30 Oct 2026 12:54:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793361761; 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=QRFrvCEaXrWWCw60shwj6Keb+c8sGAsdZ3JbFyxZP0LxGENpzSy5DzpOZ+rd9Hgjsdofl7 5zwEsfovYDNViNez2FRZL9TRroXVzZcnaL370uNRtoVEJcfAKYetaXnsnjWEJQSpOrJzAG v5nvPdbWq0CM1KKIDgNpMuUruLv2Ydo= X-MC-Unique: qi_V1V9EOJ6L76Olrf62Bw-1 X-Mimecast-MFC-AGG-ID: qi_V1V9EOJ6L76Olrf62Bw_1793361757 From: Gerd Hoffmann To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Pierrick Bouvier , Gerd Hoffmann Subject: [PATCH v2 1/2] pci id: clarify pci subsystem id usage Date: Fri, 30 Oct 2026 12:54:54 +0100 Message-ID: <20261030115455.1121808-2-kraxel@redhat.com> In-Reply-To: <20261030115455.1121808-1-kraxel@redhat.com> References: <20261030115455.1121808-1-kraxel@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 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: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: 1793361802577158500 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:26:41 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=1793361801; cv=none; d=zohomail.com; s=zohoarc; b=kHxRQBEJ6F8Fm3c7MSkDV/WDEuHUwN27ZbZ5Vf1A0s2hUY1VdfO09bxXky8C86n/tmnc+U7IS5LojW3B15UuSkEWZoUdiOuveKxnn+lRLsrmOUI4QKxXan7hqthB71Nl3IaNwDhQbsEIhiDr+tdaqLSqlfFDXH1TQTZlGhjTqXQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1793361801; 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=dmEmHKeUPb7z3XCiANZ0X+bVbK5E+tjrqKtAHLhYHhQ=; b=joGZftbtmQ2Qu0D4/wwv90rqAL3/fWsC8w7VzFUfJZM3WGy77IFJu3AwgcvetMouwkSnuR4emA2HZc7J1H7KlOAQd8oUNXRkUtKeD4fbSHjmGht63Ga7XHukIoQPE+HxOjQM8ni8ugn2kjEJi2sxvMNs52juUTyULltyVIJ6C3w= 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 1793361801011893.1575046366178; Fri, 30 Oct 2026 05:03:21 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xMlJn-0004jC-Cx; Fri, 30 Oct 2026 08:02:47 -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 1xMlJl-0004in-Qq for qemu-devel@nongnu.org; Fri, 30 Oct 2026 08:02:45 -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 1xMlJk-0006Q9-DX for qemu-devel@nongnu.org; Fri, 30 Oct 2026 08:02:45 -0400 Received: from mx-prod-mc-05.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-363-zPcLGsdWMZyqgxhMmrAW7Q-1; Fri, 30 Oct 2026 08:02:39 -0400 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (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-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 85F461954AC8; Fri, 30 Oct 2026 12:02:38 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.44.48.136]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id D07927D6; Fri, 30 Oct 2026 12:02:37 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 5FCEA18326C8; Fri, 30 Oct 2026 12:54:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793361763; 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=dmEmHKeUPb7z3XCiANZ0X+bVbK5E+tjrqKtAHLhYHhQ=; b=eEAWcu//EGzLx+oQ2wGWGpOMmE7Ltg1OrILjJnekHlgi89THJsgU+L/HIi7eekrQ8h5J3S XpmWUFFok76B1OH/48+UR0NqUcs5L14bM/kuWkZ6ZpSJEJaY+lMDbhQ1Oxw0QpAOxnoksc JQ1c3CecT8lZ3ssPIGxPyxpBE8O0EAs= X-MC-Unique: zPcLGsdWMZyqgxhMmrAW7Q-1 X-Mimecast-MFC-AGG-ID: zPcLGsdWMZyqgxhMmrAW7Q_1793361758 From: Gerd Hoffmann To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Pierrick Bouvier , Gerd Hoffmann , =?UTF-8?q?=C4=90=E1=BA=A1t=20Ng=C3=B4=20Qu=E1=BB=91c?= Subject: [PATCH v2 2/2] pci id: assign pci subsystem id for osmates Date: Fri, 30 Oct 2026 12:54:55 +0100 Message-ID: <20261030115455.1121808-3-kraxel@redhat.com> In-Reply-To: <20261030115455.1121808-1-kraxel@redhat.com> References: <20261030115455.1121808-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.6 on 10.30.177.95 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: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=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: 1793361806675154100 Allows the guest driver to identify the host implementation, useful to be more specific when applying quirks etc. OSMates is an open source VMM for macOS under MIT license. It will be released in near future and will be available from github.com/osmates. 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