[Libosinfo] [PATCH osinfo-db 08/10] device: Add nec-xhci

Cole Robinson crobinso at redhat.com
Fri Sep 28 18:25:35 UTC 2018


This was the first usb3 controller supported by qemu. This adds a
new device <class> controller.usb

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 data/device/pcisig.com/pci-1033-0194.d/class.xml.in | 8 ++++++++
 data/schema/osinfo.rng.in                           | 1 +
 2 files changed, 9 insertions(+)
 create mode 100644 data/device/pcisig.com/pci-1033-0194.d/class.xml.in

diff --git a/data/device/pcisig.com/pci-1033-0194.d/class.xml.in b/data/device/pcisig.com/pci-1033-0194.d/class.xml.in
new file mode 100644
index 0000000..d223912
--- /dev/null
+++ b/data/device/pcisig.com/pci-1033-0194.d/class.xml.in
@@ -0,0 +1,8 @@
+<libosinfo version="0.0.1">
+<!-- Licensed under the GNU General Public License version 2 or later.
+     See http://www.gnu.org/licenses/ for a copy of the license text -->
+  <device id="http://pcisig.com/pci/1033/0194">
+    <name>nec-xhci</name>
+    <class>controller.usb</class>
+  </device>
+</libosinfo>
diff --git a/data/schema/osinfo.rng.in b/data/schema/osinfo.rng.in
index 843519d..fa09249 100644
--- a/data/schema/osinfo.rng.in
+++ b/data/schema/osinfo.rng.in
@@ -77,6 +77,7 @@
               <value>audio</value>
               <value>block</value>
               <value>console</value>
+              <value>controller.usb</value>
               <value>filesystem</value>
               <value>input</value>
               <value>memory.balloon</value>
-- 
2.17.1




More information about the Libosinfo mailing list