[Libosinfo] [PATCHv2] Add QEMU/QEMU-KVM hypervisor data

Christophe Fergeau cfergeau at redhat.com
Thu Jan 31 09:44:23 UTC 2013


---
 data/hypervisors/Makefile.am |   2 +-
 data/hypervisors/kvm.xml.in  |  63 ++++++++++++++++++
 data/hypervisors/qemu.xml.in | 148 +++++++++++++++++++++++++++++++++++++++++++
 po/POTFILES.in               |   2 +
 4 files changed, 214 insertions(+), 1 deletion(-)
 create mode 100644 data/hypervisors/kvm.xml.in
 create mode 100644 data/hypervisors/qemu.xml.in

diff --git a/data/hypervisors/Makefile.am b/data/hypervisors/Makefile.am
index 19ac267..4b84d3e 100644
--- a/data/hypervisors/Makefile.am
+++ b/data/hypervisors/Makefile.am
@@ -1,6 +1,6 @@
 
 databasedir = $(pkgdatadir)/db/hypervisors/
-database_in_files = rhel-xen.xml.in xen.xml.in
+database_in_files = kvm.xml.in qemu.xml.in rhel-xen.xml.in xen.xml.in
 
 database_DATA = $(database_in_files:.xml.in=.xml)
 
diff --git a/data/hypervisors/kvm.xml.in b/data/hypervisors/kvm.xml.in
new file mode 100644
index 0000000..3833943
--- /dev/null
+++ b/data/hypervisors/kvm.xml.in
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<libosinfo version="0.0.1">
+
+  <platform id="http://linux-kvm.org/1.0">
+    <short-id>qemu-kvm-1.0</short-id>
+    <_name>QEMU-KVM 1.0</_name>
+    <_vendor>linux-kvm.org</_vendor>
+    <version>1.0</version>
+    <release-date>2011-12-04</release-date>
+    <derives-from id="http://qemu.org/1.0"/>
+  </platform>
+
+  <platform id="http://linux-kvm.org/1.0.1">
+    <short-id>qemu-kvm-1.0.1</short-id>
+    <_name>QEMU-KVM 1.0.1</_name>
+    <_vendor>linux-kvm.org</_vendor>
+    <version>1.0.1</version>
+    <release-date>2012-04-17</release-date>
+    <upgrades id="http://linux-kvm.org/1.0"/>
+    <derives-from id="http://qemu.org/1.0.1"/>
+  </platform>
+
+  <platform id="http://linux-kvm.org/1.1.0">
+    <short-id>qemu-kvm-1.1.0</short-id>
+    <_name>QEMU-KVM 1.1.0</_name>
+    <_vendor>linux-kvm.org</_vendor>
+    <version>1.1.0</version>
+    <release-date>2012-07-02</release-date>
+    <upgrades id="http://linux-kvm.org/1.0.1"/>
+    <derives-from id="http://qemu.org/1.1"/>
+  </platform>
+
+  <platform id="http://linux-kvm.org/1.1.1">
+    <short-id>qemu-kvm-1.1.1</short-id>
+    <_name>QEMU-KVM 1.1.1</_name>
+    <_vendor>linux-kvm.org</_vendor>
+    <version>1.1.1</version>
+    <release-date>2012-08-27</release-date>
+    <upgrades id="http://linux-kvm.org/1.1.0"/>
+    <derives-from id="http://qemu.org/1.1.1"/>
+  </platform>
+
+  <platform id="http://linux-kvm.org/1.1.2">
+    <short-id>qemu-kvm-1.1.2</short-id>
+    <_name>QEMU-KVM 1.1.2</_name>
+    <_vendor>linux-kvm.org</_vendor>
+    <version>1.1.2</version>
+    <release-date>2012-09-10</release-date>
+    <upgrades id="http://linux-kvm.org/1.1.1"/>
+    <derives-from id="http://qemu.org/1.1.2"/>
+  </platform>
+
+  <platform id="http://linux-kvm.org/1.2.0">
+    <short-id>qemu-kvm-1.2.0</short-id>
+    <_name>QEMU-KVM 1.2.0</_name>
+    <_vendor>linux-kvm.org</_vendor>
+    <version>1.2.0</version>
+    <release-date>2012-09-10</release-date>
+    <upgrades id="http://linux-kvm.org/1.1.1-1"/>
+    <derives-from id="http://qemu.org/1.2.0"/>
+  </platform>
+
+</libosinfo>
diff --git a/data/hypervisors/qemu.xml.in b/data/hypervisors/qemu.xml.in
new file mode 100644
index 0000000..e57e867
--- /dev/null
+++ b/data/hypervisors/qemu.xml.in
@@ -0,0 +1,148 @@
+<!-- Official QEMU releases -->
+<libosinfo version="0.0.1">
+
+  <platform id="http://qemu.org/1.0">
+    <short-id>qemu-1.0</short-id>
+    <_name>QEMU 1.0</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.0</version>
+    <release-date>2011-12-01</release-date>
+
+    <devices>
+      <!-- block: LSI -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1000/0012"/>
+      <!-- video: vga -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1234/1111"/>
+      <!-- video: cirrus -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1013/00b8"/>
+      <!-- video: vmvga -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/15ad/0710"/>
+      <!-- video: qxl -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1b36/0100"/>
+      <!-- network: ne2k_pci-->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/10ec/8029"/>
+      <!-- network: pcnet -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1022/2000"/>
+      <!-- network: rtl8139 -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/10ec/8139"/>
+      <!-- network: e1000 -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/8086/100e"/>
+      <!-- audio: es1370 -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1274/5000"/>
+      <!-- audio: AC97 -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/8086/2415"/>
+      <!-- audio: ICH6 -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/8086/2668"/>
+      <!-- watchdog devices -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/8086/25ab"/>
+      <device id="isa://ib700"/>
+      <!-- ps2: keyboard -->
+      <device id="http://qemu.org/ps2/keyboard"/>
+      <!-- ps2: mouse -->
+      <device id="http://qemu.org/ps2/mouse"/>
+      <!-- USB tablet -->
+      <device id="http://www.linux-usb.org/usb.ids/80ee/0021"/>
+      <!-- virtio-net -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1000"/>
+      <!-- virtio-block -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1001"/>
+      <!-- virtio-balloon -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1002"/>
+      <!-- virtio-console -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1003"/>
+      <!-- virtio-9p -->
+      <device id="http://pciids.sourceforge.net/v2.2/pci.ids/1af4/1009"/>
+    </devices>
+  </platform>
+
+  <platform id="http://qemu.org/1.0.1">
+    <short-id>qemu-1.0.1</short-id>
+    <_name>QEMU 1.0.1</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.0.1</version>
+    <release-date>2012-02-17</release-date>
+    <upgrades id="http://qemu.org/1.0"/>
+  </platform>
+
+  <platform id="http://qemu.org/1.1">
+    <short-id>qemu-1.1</short-id>
+    <_name>QEMU 1.1</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.1</version>
+    <release-date>2012-06-01</release-date>
+    <upgrades id="http://qemu.org/1.0.1"/>
+  </platform>
+
+  <platform id="http://qemu.org/1.1.1">
+    <short-id>qemu-1.1.1</short-id>
+    <_name>QEMU 1.1.1</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.1.1</version>
+    <release-date>2012-07-12</release-date>
+    <upgrades id="http://qemu.org/1.1"/>
+  </platform>
+
+  <platform id="http://qemu.org/1.1.1-1">
+    <short-id>qemu-1.1.1-1</short-id>
+    <_name>QEMU 1.1.1-1</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.1.1-1</version>
+    <release-date>2012-07-17</release-date>
+    <upgrades id="http://qemu.org/1.1.1"/>
+  </platform>
+
+  <platform id="http://qemu.org/1.1.2">
+    <short-id>qemu-1.1.2</short-id>
+    <_name>QEMU 1.1.2</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.1.2</version>
+    <release-date>2012-09-05</release-date>
+    <upgrades id="http://qemu.org/1.1.1-1"/>
+  </platform>
+
+  <platform id="http://qemu.org/1.2.0">
+    <short-id>qemu-1.2.0</short-id>
+    <_name>QEMU 1.2.0</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.2.0</version>
+    <release-date>2012-09-05</release-date>
+    <upgrades id="http://qemu.org/1.1.1-1"/>
+  </platform>
+
+  <platform id="http://qemu.org/1.2.1">
+    <short-id>qemu-1.2.1</short-id>
+    <_name>QEMU 1.2.1</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.2.1</version>
+    <release-date>2012-11-20</release-date>
+    <upgrades id="http://qemu.org/1.2.0"/>
+  </platform>
+
+  <platform id="http://qemu.org/1.2.2">
+    <short-id>qemu-1.2.2</short-id>
+    <_name>QEMU 1.2.2</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.2.2</version>
+    <release-date>2012-12-11</release-date>
+    <upgrades id="http://qemu.org/1.2.1"/>
+  </platform>
+
+  <platform id="http://qemu.org/1.3.0">
+    <short-id>qemu-1.3.0</short-id>
+    <_name>QEMU 1.3.0</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.3.0</version>
+    <release-date>2012-12-03</release-date>
+    <upgrades id="http://qemu.org/1.2.1"/>
+  </platform>
+
+  <platform id="http://qemu.org/1.3.1">
+    <short-id>qemu-1.3.1</short-id>
+    <_name>QEMU 1.3.1</_name>
+    <_vendor>qemu.org</_vendor>
+    <version>1.3.1</version>
+    <release-date>2013-01-28</release-date>
+    <upgrades id="http://qemu.org/1.3.0"/>
+  </platform>
+
+</libosinfo>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 1a209bb..fc1c01b 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -21,6 +21,8 @@ data/devices/qemu-ps2.xml.in
 data/devices/qemu-pci.xml.in
 data/devices/virtio-pci.xml.in
 data/devices/qemu-usb.xml.in
+data/hypervisors/kvm.xml.in
+data/hypervisors/qemu.xml.in
 data/hypervisors/rhel-xen.xml.in
 data/hypervisors/xen.xml.in
 osinfo/osinfo_avatar_format.c
-- 
1.8.1




More information about the Libosinfo mailing list