[Libosinfo] [PATCH] Add missing virtio PCI devices

Daniel P. Berrange berrange at redhat.com
Tue Jul 5 12:48:43 UTC 2016


We were missing virtio-rng and virtio-scsi, as well as
all the virtio 1.0 device variants, which have different
PCI IDS

The pci.ids file lists the following known devices

	1000  Virtio network device
	1001  Virtio block device
	1002  Virtio memory balloon
	1003  Virtio console
	1004  Virtio SCSI
	1005  Virtio RNG
	1009  Virtio filesystem
	1041  Virtio network device
	1042  Virtio block device
	1043  Virtio console
	1044  Virtio RNG
	1045  Virtio memory balloon
	1048  Virtio SCSI
	1049  Virtio filesystem
	1050  Virtio GPU
	1052  Virtio input

Of which, only 1001, 1001, 1002 and 1009 were recorded in
libosinfo. They would have appeared via pci.ids file loading,
but they would have lacked friendly names.

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 configure.ac                                        | 11 +++++++++++
 data/device/pcisig.com/Makefile.am                  | 11 +++++++++++
 data/device/pcisig.com/pci-1af4-1004.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1004.d/class.xml.in |  6 ++++++
 data/device/pcisig.com/pci-1af4-1005.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1005.d/class.xml.in |  6 ++++++
 data/device/pcisig.com/pci-1af4-1041.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1041.d/class.xml.in |  6 ++++++
 data/device/pcisig.com/pci-1af4-1042.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1042.d/class.xml.in |  6 ++++++
 data/device/pcisig.com/pci-1af4-1043.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1043.d/class.xml.in |  6 ++++++
 data/device/pcisig.com/pci-1af4-1044.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1044.d/class.xml.in |  6 ++++++
 data/device/pcisig.com/pci-1af4-1045.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1045.d/class.xml.in |  6 ++++++
 data/device/pcisig.com/pci-1af4-1048.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1048.d/class.xml.in |  6 ++++++
 data/device/pcisig.com/pci-1af4-1049.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1049.d/class.xml.in |  6 ++++++
 data/device/pcisig.com/pci-1af4-1050.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1050.d/class.xml.in |  6 ++++++
 data/device/pcisig.com/pci-1af4-1052.d/Makefile.am  |  1 +
 data/device/pcisig.com/pci-1af4-1052.d/class.xml.in |  6 ++++++
 24 files changed, 99 insertions(+)
 create mode 100644 data/device/pcisig.com/pci-1af4-1004.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1004.d/class.xml.in
 create mode 100644 data/device/pcisig.com/pci-1af4-1005.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1005.d/class.xml.in
 create mode 100644 data/device/pcisig.com/pci-1af4-1041.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1041.d/class.xml.in
 create mode 100644 data/device/pcisig.com/pci-1af4-1042.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1042.d/class.xml.in
 create mode 100644 data/device/pcisig.com/pci-1af4-1043.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1043.d/class.xml.in
 create mode 100644 data/device/pcisig.com/pci-1af4-1044.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1044.d/class.xml.in
 create mode 100644 data/device/pcisig.com/pci-1af4-1045.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1045.d/class.xml.in
 create mode 100644 data/device/pcisig.com/pci-1af4-1048.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1048.d/class.xml.in
 create mode 100644 data/device/pcisig.com/pci-1af4-1049.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1049.d/class.xml.in
 create mode 100644 data/device/pcisig.com/pci-1af4-1050.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1050.d/class.xml.in
 create mode 100644 data/device/pcisig.com/pci-1af4-1052.d/Makefile.am
 create mode 100644 data/device/pcisig.com/pci-1af4-1052.d/class.xml.in

diff --git a/configure.ac b/configure.ac
index 12ff984..e29fd27 100644
--- a/configure.ac
+++ b/configure.ac
@@ -265,7 +265,18 @@ AC_CONFIG_FILES([
 	data/device/pcisig.com/pci-1af4-1001.d/Makefile
 	data/device/pcisig.com/pci-1af4-1002.d/Makefile
 	data/device/pcisig.com/pci-1af4-1003.d/Makefile
+	data/device/pcisig.com/pci-1af4-1004.d/Makefile
+	data/device/pcisig.com/pci-1af4-1005.d/Makefile
 	data/device/pcisig.com/pci-1af4-1009.d/Makefile
+	data/device/pcisig.com/pci-1af4-1041.d/Makefile
+	data/device/pcisig.com/pci-1af4-1042.d/Makefile
+	data/device/pcisig.com/pci-1af4-1043.d/Makefile
+	data/device/pcisig.com/pci-1af4-1044.d/Makefile
+	data/device/pcisig.com/pci-1af4-1045.d/Makefile
+	data/device/pcisig.com/pci-1af4-1048.d/Makefile
+	data/device/pcisig.com/pci-1af4-1049.d/Makefile
+	data/device/pcisig.com/pci-1af4-1050.d/Makefile
+	data/device/pcisig.com/pci-1af4-1052.d/Makefile
 	data/device/pcisig.com/pci-1b36-0100.d/Makefile
 	data/device/pcisig.com/pci-8086-100e.d/Makefile
 	data/device/pcisig.com/pci-8086-2415.d/Makefile
diff --git a/data/device/pcisig.com/Makefile.am b/data/device/pcisig.com/Makefile.am
index 567618a..89230b5 100644
--- a/data/device/pcisig.com/Makefile.am
+++ b/data/device/pcisig.com/Makefile.am
@@ -12,7 +12,18 @@ SUBDIRS = \
 	pci-1af4-1001.d \
 	pci-1af4-1002.d \
 	pci-1af4-1003.d \
+	pci-1af4-1004.d \
+	pci-1af4-1005.d \
 	pci-1af4-1009.d \
+	pci-1af4-1041.d \
+	pci-1af4-1042.d \
+	pci-1af4-1043.d \
+	pci-1af4-1044.d \
+	pci-1af4-1045.d \
+	pci-1af4-1048.d \
+	pci-1af4-1049.d \
+	pci-1af4-1050.d \
+	pci-1af4-1052.d \
 	pci-1b36-0100.d \
 	pci-8086-100e.d \
 	pci-8086-2415.d \
diff --git a/data/device/pcisig.com/pci-1af4-1004.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1004.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1004.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1004.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1004.d/class.xml.in
new file mode 100644
index 0000000..bebf98c
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1004.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1004">
+    <name>virtio-scsi</name>
+    <class>scsi</class>
+  </device>
+</libosinfo>
diff --git a/data/device/pcisig.com/pci-1af4-1005.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1005.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1005.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1005.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1005.d/class.xml.in
new file mode 100644
index 0000000..5323545
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1005.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1005">
+    <name>virtio-rng</name>
+    <class>rng</class>
+  </device>
+</libosinfo>
diff --git a/data/device/pcisig.com/pci-1af4-1041.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1041.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1041.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1041.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1041.d/class.xml.in
new file mode 100644
index 0000000..89eaf47
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1041.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1041">
+    <name>virtio1.0-net</name>
+    <class>net</class>
+  </device>
+</libosinfo>
diff --git a/data/device/pcisig.com/pci-1af4-1042.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1042.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1042.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1042.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1042.d/class.xml.in
new file mode 100644
index 0000000..98183d3
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1042.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1042">
+    <name>virtio1.0-block</name>
+    <class>block</class>
+  </device>
+</libosinfo>
diff --git a/data/device/pcisig.com/pci-1af4-1043.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1043.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1043.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1043.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1043.d/class.xml.in
new file mode 100644
index 0000000..02b8b0e
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1043.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1043">
+    <name>virtio1.0-console</name>
+    <class>console</class>
+  </device>
+</libosinfo>
diff --git a/data/device/pcisig.com/pci-1af4-1044.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1044.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1044.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1044.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1044.d/class.xml.in
new file mode 100644
index 0000000..c6225a8
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1044.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1044">
+    <name>virtio1.0-rng</name>
+    <class>rng</class>
+  </device>
+</libosinfo>
diff --git a/data/device/pcisig.com/pci-1af4-1045.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1045.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1045.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1045.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1045.d/class.xml.in
new file mode 100644
index 0000000..6984402
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1045.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1045">
+    <name>virtio1.0-balloon</name>
+    <class>memory.balloon</class>
+  </device>
+</libosinfo>
diff --git a/data/device/pcisig.com/pci-1af4-1048.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1048.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1048.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1048.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1048.d/class.xml.in
new file mode 100644
index 0000000..096da30
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1048.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1048">
+    <name>virtio1.0-scsi</name>
+    <class>scsi</class>
+  </device>
+</libosinfo>
diff --git a/data/device/pcisig.com/pci-1af4-1049.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1049.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1049.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1049.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1049.d/class.xml.in
new file mode 100644
index 0000000..a1b3b50
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1049.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1049">
+    <name>virtio1.0-9p</name>
+    <class>filesystem</class>
+  </device>
+</libosinfo>
diff --git a/data/device/pcisig.com/pci-1af4-1050.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1050.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1050.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1050.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1050.d/class.xml.in
new file mode 100644
index 0000000..e8ce9d9
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1050.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1050">
+    <name>virtio1.0-gpu</name>
+    <class>gpu</class>
+  </device>
+</libosinfo>
diff --git a/data/device/pcisig.com/pci-1af4-1052.d/Makefile.am b/data/device/pcisig.com/pci-1af4-1052.d/Makefile.am
new file mode 100644
index 0000000..4ce2491
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1052.d/Makefile.am
@@ -0,0 +1 @@
+include ../../../Makefile.inc
diff --git a/data/device/pcisig.com/pci-1af4-1052.d/class.xml.in b/data/device/pcisig.com/pci-1af4-1052.d/class.xml.in
new file mode 100644
index 0000000..a8d6b42
--- /dev/null
+++ b/data/device/pcisig.com/pci-1af4-1052.d/class.xml.in
@@ -0,0 +1,6 @@
+<libosinfo version="0.0.1">
+  <device id="http://pcisig.com/pci/1af4/1052">
+    <name>virtio1.0-input</name>
+    <class>input</class>
+  </device>
+</libosinfo>
-- 
2.7.4




More information about the Libosinfo mailing list