Skip to contentSkip to conversation

pci id documentation updates

PATCH New Gerd Hoffmann 1 participant 3 messages Oct 30

lore
Share & tools
lore
#0 lore raw

v2 cover pci id documentation updates

v2:
- add more info to the osmates commit message.

Gerd Hoffmann (2):
pci id: clarify pci subsystem id usage
pci id: assign pci subsystem id for osmates

 docs/specs/pci-ids.rst | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
Signature · 1 line
2.56.0
#1 lore raw

PATCH v2 1/2 pci id: clarify pci subsystem id usage

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.

---
 docs/specs/pci-ids.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
docs/specs/pci-ids.rst +3 -2
index 261b0f359fe5..832f8bd1b802 100644
@@ -46,8 +46,9 @@ maintained as part of the virtio specification.
   upstream merge or shipping a distro/product) to avoid conflicts.
 
 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).
 
 1af4:1110
   ivshmem device (:doc:`ivshmem-spec`)
Signature · 1 line
2.56.0
#2 lore raw

PATCH v2 2/2 pci id: assign pci subsystem id for osmates

In reply to Gerd Hoffmann

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 Đạt Ngô Quốc <[email protected]>
---
 docs/specs/pci-ids.rst | 4 ++++
 1 file changed, 4 insertions(+)
docs/specs/pci-ids.rst +4 -0
index 832f8bd1b802..45e0d22e71bd 100644
@@ -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).
 
+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`)
 
Signature · 1 line
2.56.0