[Libosinfo] [PATCH osinfo-db v4 2/5] device: Add chipset qemu-x86-q35

Cole Robinson crobinso at redhat.com
Wed Oct 10 18:37:21 UTC 2018


Introduce a new URI scheme and class=chipset, rather
than attach this to any particular PCI ID.

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 data/device/qemu.org/chipset-x86-q35.xml.in | 8 ++++++++
 data/schema/osinfo.rng.in                   | 1 +
 2 files changed, 9 insertions(+)
 create mode 100644 data/device/qemu.org/chipset-x86-q35.xml.in

diff --git a/data/device/qemu.org/chipset-x86-q35.xml.in b/data/device/qemu.org/chipset-x86-q35.xml.in
new file mode 100644
index 0000000..539b4df
--- /dev/null
+++ b/data/device/qemu.org/chipset-x86-q35.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://qemu.org/chipset/x86/q35">
+    <name>qemu-x86-q35</name>
+    <class>chipset</class>
+  </device>
+</libosinfo>
diff --git a/data/schema/osinfo.rng.in b/data/schema/osinfo.rng.in
index fa09249..6693391 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>chipset</value>
               <value>controller.usb</value>
               <value>filesystem</value>
               <value>input</value>
-- 
2.19.0




More information about the Libosinfo mailing list