[virt-tools-list] [libosinfo 5/5] Add generic Linux OS metadata
Daniel P. Berrange
berrange at redhat.com
Fri Jun 17 14:14:28 UTC 2011
On Thu, Jun 16, 2011 at 02:51:29AM +0300, Zeeshan Ali wrote:
> 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>
I think those short-id's would likely be better as
'linux24', 'linux26', and 'linux26virtio'
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the virt-tools-list
mailing list