[PATCH 1/2] device: add virtio-gpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>

virtio-gpu is a non-legacy device, so device_id is always 0x10 + 0x1040.

Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx>
---
 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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux