[Libosinfo] [PATCH] device: add virtio-gpu
Marc-André Lureau
marcandre.lureau at gmail.com
Fri Feb 26 13:25:42 UTC 2016
nack, missing configure.ac line, sending v2
On Fri, Feb 26, 2016 at 2:23 PM, Marc-André Lureau
<marcandre.lureau at redhat.com> wrote:
> 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>
> ---
> 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 ++++++
> 3 files changed, 8 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/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.5.0
>
--
Marc-André Lureau
More information about the Libosinfo
mailing list