[Libosinfo] [PATCH 1/2] device: add virtio-gpu
marcandre.lureau at redhat.com
marcandre.lureau at redhat.com
Tue Jul 5 11:18:44 UTC 2016
From: Marc-André Lureau <marcandre.lureau at gmail.com>
virtio-gpu is a non-legacy device, so device_id is always 0x10 + 0x1040.
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
configure.ac | 1 +
data/device/pcisig.com/Makefile.am | 1 +
data/device/pcisig.com/pci-1af4-1050.d/Makefile.am | 1 +
data/device/pcisig.com/pci-1af4-1050.d/class.xml.in | 6 ++++++
4 files changed, 9 insertions(+)
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
diff --git a/configure.ac b/configure.ac
index 12ff984..9ac5a51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -266,6 +266,7 @@ AC_CONFIG_FILES([
data/device/pcisig.com/pci-1af4-1002.d/Makefile
data/device/pcisig.com/pci-1af4-1003.d/Makefile
data/device/pcisig.com/pci-1af4-1009.d/Makefile
+ data/device/pcisig.com/pci-1af4-1050.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..4fd99e9 100644
--- a/data/device/pcisig.com/Makefile.am
+++ b/data/device/pcisig.com/Makefile.am
@@ -13,6 +13,7 @@ SUBDIRS = \
pci-1af4-1002.d \
pci-1af4-1003.d \
pci-1af4-1009.d \
+ pci-1af4-1050.d \
pci-1b36-0100.d \
pci-8086-100e.d \
pci-8086-2415.d \
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..4d3ec16
--- /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>virtio-gpu</name>
+ <class>video</class>
+ </device>
+</libosinfo>
--
2.9.0
More information about the Libosinfo
mailing list