[Libosinfo] [libosinfo 1/4] db: Add device names next to the device IDs

Christophe Fergeau cfergeau at redhat.com
Wed Apr 3 07:58:04 UTC 2013


Adding the device names in XML comments make the driver declaration
much clearer in windows.xml
---
 data/oses/windows.xml.in | 48 ++++++++++++++++++++++++------------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/data/oses/windows.xml.in b/data/oses/windows.xml.in
index 26d4410..2262497 100644
--- a/data/oses/windows.xml.in
+++ b/data/oses/windows.xml.in
@@ -389,7 +389,7 @@
       <file>viostor.sys</file>
       <!-- For now we require this for pre-installation but we should probably generate this too -->
       <file>txtsetup.oem</file>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/> <!-- virtio-block !-->
     </driver>
 
     <driver arch="x86_64" location="http://zeenix.fedorapeople.org/drivers/win-tools/preinst/winxp/amd64" pre-installable="true" signed="false">
@@ -398,7 +398,7 @@
       <file>viostor.sys</file>
       <!-- For now we require this for pre-installation but we should probably generate this too -->
       <file>txtsetup.oem</file>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/> <!-- virtio-block !-->
     </driver>
 
     <!-- All virtio and QXL device drivers, and spice-vdagent -->
@@ -407,11 +407,11 @@
       <file>spice-guest-tools-0.52.cmd</file>
       <file>redhat09.cer</file>
       <file>redhat10.cer</file>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1002"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1003"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1b36/0100"/>
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/> <!-- virtio-net -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/> <!-- virtio-block -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1002"/> <!-- virtio-balloon -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1003"/> <!-- virtio-serial -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1b36/0100"/> <!-- qxl -->
     </driver>
 
     <driver arch="x86_64" location="http://zeenix.fedorapeople.org/drivers/win-tools/postinst" signed="false">
@@ -419,11 +419,11 @@
       <file>spice-guest-tools-0.52.cmd</file>
       <file>redhat09.cer</file>
       <file>redhat10.cer</file>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1002"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1003"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1b36/0100"/>
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/> <!-- virtio-net -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/> <!-- virtio-block -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1002"/> <!-- virtio-balloon -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1003"/> <!-- virtio-serial -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1b36/0100"/> <!-- qxl -->
     </driver>
   </os>
 
@@ -784,14 +784,14 @@
       <file>viostor.cat</file>
       <file>viostor.inf</file>
       <file>viostor.sys</file>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/> <!-- virtio-block !-->
     </driver>
 
     <driver arch="x86_64" location="http://zeenix.fedorapeople.org/drivers/win-tools/preinst/win7/amd64" pre-installable="true" signed="false">
       <file>viostor.cat</file>
       <file>viostor.inf</file>
       <file>viostor.sys</file>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/> <!-- virtio-block !-->
     </driver>
 
     <!-- All virtio and QXL device drivers, and spice-vdagent -->
@@ -800,11 +800,11 @@
       <file>spice-guest-tools-0.52.cmd</file>
       <file>redhat09.cer</file>
       <file>redhat10.cer</file>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1002"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1003"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1b36/0100"/>
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/> <!-- virtio-net -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/> <!-- virtio-block -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1002"/> <!-- virtio-balloon -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1003"/> <!-- virtio-serial -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1b36/0100"/> <!-- qxl -->
     </driver>
 
     <driver arch="x86_64" location="http://zeenix.fedorapeople.org/drivers/win-tools/postinst" signed="false">
@@ -812,11 +812,11 @@
       <file>spice-guest-tools-0.52.cmd</file>
       <file>redhat09.cer</file>
       <file>redhat10.cer</file>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1002"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1003"/>
-      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1b36/0100"/>
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/> <!-- virtio-net -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/> <!-- virtio-block -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1002"/> <!-- virtio-balloon -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1003"/> <!-- virtio-serial -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1b36/0100"/> <!-- qxl -->
     </driver>
   </os>
 
-- 
1.8.1.4




More information about the Libosinfo mailing list