From nobody Fri Apr 26 18:51:53 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1559897606; cv=none; d=zoho.com; s=zohoarc; b=kdMYISppfPc/n63Eh3m5sowNy2MumsdyAzAFbpvWYvpQVZkTrtHyoVAfhTHPgKzOsP/klxj0VP6e9aVT6va1PEpssYVU0yOGgiRPLdtNHK/2A7H8DbxByCfpvxaVGb3wNox124n6KVXE0DBSBUlU5YhgHN4ko+rx7SXoDXsgLOY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559897606; 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:ARC-Authentication-Results; bh=MtUUZJxCUYnWA9gtx5uwuigROx3lwfVuJiPIpxhsmFc=; b=ECO9Kd+KqNxEHlI3qNJr3A6EBTLiZspzjH7Wi5ZRgYbbfZd/3y71WHD+nC0+5FM2IiuKELwWaAp1eCU6j57WrNLzxdhwN9cTqI6XsnUui6XfnoC3E4ZKN87L/Zm5prHLAV7nXR0Bzay2LvSiBHF5cTeea+e42W693TIHVzoHbrY= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1559897606376643.2220800407616; Fri, 7 Jun 2019 01:53:26 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5D3C181F10; Fri, 7 Jun 2019 08:53:24 +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 2A1017D678; Fri, 7 Jun 2019 08:53:24 +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 B1714206D2; Fri, 7 Jun 2019 08:53:23 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x578rMaR008510 for ; Fri, 7 Jun 2019 04:53:22 -0400 Received: by smtp.corp.redhat.com (Postfix) id D83D81B426; Fri, 7 Jun 2019 08:53:22 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 632C35BBBD for ; Fri, 7 Jun 2019 08:53:18 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Fri, 7 Jun 2019 10:53:17 +0200 Message-Id: <20190607085317.2895-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] docs: Advertise pcie-to-pci-bridge for use on q35 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 07 Jun 2019 08:53:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" We support pcie-to-pci-bridge, and prefer it to dmi-to-pci-bridge, since libvirt 4.3.0, but we didn't update all the documentation accordingly at the time. Signed-off-by: Andrea Bolognani Reviewed-by: J=C3=A1n Tomko --- docs/formatdomain.html.in | 10 +++++----- docs/pci-hotplug.html.in | 5 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 22ddcb71d3..452e3b0ee4 100644 --- a/docs/formatdomain.html.in +++ b/docs/formatdomain.html.in @@ -4414,7 +4414,7 @@ subelement <model> with an attribute name. The name attribute holds the name of the specific device that qemu is emulating (e.g. "i82801b11-bridge") - rather than simply the class of device ("dmi-to-pci-bridge", + rather than simply the class of device ("pcie-to-pci-bridge", "pci-bridge"), which is set in the controller element's model attribute. In almost all cases, you should not manually add a <model> subelement to a @@ -4603,11 +4603,11 @@ ... <devices> <controller type=3D'pci' index=3D'0' model=3D'pcie-root'/> - <controller type=3D'pci' index=3D'1' model=3D'dmi-to-pci-bridge'> - <address type=3D'pci' domain=3D'0' bus=3D'0' slot=3D'0xe' function= =3D'0'/> + <controller type=3D'pci' index=3D'1' model=3D'pcie-root-port'> + <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x01' = function=3D'0x0'/> </controller> - <controller type=3D'pci' index=3D'2' model=3D'pci-bridge'> - <address type=3D'pci' domain=3D'0' bus=3D'1' slot=3D'1' function=3D= '0'/> + <controller type=3D'pci' index=3D'2' model=3D'pcie-to-pci-bridge'> + <address type=3D'pci' domain=3D'0x0000' bus=3D'0x01' slot=3D'0x00' = function=3D'0x0'/> </controller> </devices> ... diff --git a/docs/pci-hotplug.html.in b/docs/pci-hotplug.html.in index 9a26645aa4..29587b1e7e 100644 --- a/docs/pci-hotplug.html.in +++ b/docs/pci-hotplug.html.in @@ -99,13 +99,12 @@

=20
-<controller type=3D'pci' model=3D'dmi-to-pci-bridge'/>
-<controller type=3D'pci' model=3D'pci-bridge'/>
+<controller type=3D'pci' model=3D'pcie-to-pci-bridge'/> =20

and you'll be able to hotplug up to 31 legacy PCI devices, either emulated or assigned from the host, in the slots - from 0x01 to 0x1f of the pci-bridge controller. + from 0x01 to 0x1f of the pcie-to-pci-bridge controller.

=20

i440fx (pc) machine type

--=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list