[virt-tools-list] [libosinfo 5/5] Add generic Linux OS metadata
Zeeshan Ali
zeeshanak at gnome.org
Wed Jun 15 23:51:29 UTC 2011
From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
---
data/oses/Makefile.am | 17 +++++++++--------
data/oses/generic-linux.xml | 29 +++++++++++++++++++++++++++++
2 files changed, 38 insertions(+), 8 deletions(-)
create mode 100644 data/oses/generic-linux.xml
diff --git a/data/oses/Makefile.am b/data/oses/Makefile.am
index cca64fa..87be72b 100644
--- a/data/oses/Makefile.am
+++ b/data/oses/Makefile.am
@@ -1,12 +1,13 @@
databasedir = $(pkgdatadir)/data/oses/
-database_DATA = \
- fedora.xml \
- rhel.xml \
- centos.xml \
- suse.xml \
- mandriva.xml \
- debian.xml \
- ubuntu.xml
+database_DATA = \
+ fedora.xml \
+ rhel.xml \
+ centos.xml \
+ suse.xml \
+ mandriva.xml \
+ debian.xml \
+ ubuntu.xml \
+ generic-linux.xml
EXTRA_DIST = $(database_DATA)
diff --git a/data/oses/generic-linux.xml b/data/oses/generic-linux.xml
new file mode 100644
index 0000000..dec6e0c
--- /dev/null
+++ b/data/oses/generic-linux.xml
@@ -0,0 +1,29 @@
+<libosinfo version="0.0.1">
+
+ <os id="http://kernel.org/linux/24">
+ <short-id>generic24</short-id>
+ <name>Generic 2.4.x kernel</name>
+ <version>2.4</version>
+ <vendor>Linux Kernel Developers</vendor>
+ </os>
+
+ <os id="http://kernel.org/linux/26">
+ <short-id>generic26</short-id>
+ <name>Generic 2.6.x kernel</name>
+ <version>2.6</version>
+ <vendor>Linux Kernel Developers</vendor>
+ </os>
+
+ <os id="http://kernel.org/linux/virtio/26">
+ <short-id>virtio26</short-id>
+ <name>Generic 2.6.25 or later kernel with virtio</name>
+ <version>2.6</version>
+ <vendor>Linux Kernel Developers</vendor>
+
+ <devices>
+ <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000">
+ <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001">
+ </devices>
+ </os>
+
+</libosinfo>
--
1.7.5.2
More information about the virt-tools-list
mailing list