[Libosinfo] [PATCH] fedora: record when virtio devices were made available

Daniel P. Berrange berrange at redhat.com
Tue Jul 5 14:01:21 UTC 2016


We currently only record virtio-net, virtio-blk data against
Fedora. virtio-9p, virtio-balloon and virtio-console were
also all available in Fedora 9 kernels, with virtio-rng
added in Fedora 10 and virtio-scsi in Fedora 17.

The virtio-1.0 devices all appeared in Fedora 23 guest
kernels

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 data/os/fedoraproject.org/fedora-10.xml.in |  1 +
 data/os/fedoraproject.org/fedora-17.xml.in |  4 ++++
 data/os/fedoraproject.org/fedora-23.xml.in | 12 ++++++++++++
 data/os/fedoraproject.org/fedora-9.xml.in  |  3 +++
 4 files changed, 20 insertions(+)

diff --git a/data/os/fedoraproject.org/fedora-10.xml.in b/data/os/fedoraproject.org/fedora-10.xml.in
index a7bde0f..8854c0e 100644
--- a/data/os/fedoraproject.org/fedora-10.xml.in
+++ b/data/os/fedoraproject.org/fedora-10.xml.in
@@ -15,6 +15,7 @@
 
     <devices>
       <device id="http://pcisig.com/pci/1af4/1001"/> <!-- virtio-block -->
+      <device id="http://pcisig.com/pci/1af4/1005"/> <!-- virtio-rng -->
     </devices>
 
     <!-- DVD -->
diff --git a/data/os/fedoraproject.org/fedora-17.xml.in b/data/os/fedoraproject.org/fedora-17.xml.in
index b025b1c..8802289 100644
--- a/data/os/fedoraproject.org/fedora-17.xml.in
+++ b/data/os/fedoraproject.org/fedora-17.xml.in
@@ -10,6 +10,10 @@
     <upgrades id="http://fedoraproject.org/fedora/16"/>
     <derives-from id="http://fedoraproject.org/fedora/16"/>
 
+    <devices>
+      <device id="http://pcisig.com/pci/1af4/1004"/> <!-- virtio-scsi -->
+    </devices>
+
     <media arch="i686">
       <url>http://archive.fedoraproject.org/pub/archive/fedora/linux/releases/17/Fedora/i386/iso/Fedora-17-i386-DVD.iso</url>
       <iso>
diff --git a/data/os/fedoraproject.org/fedora-23.xml.in b/data/os/fedoraproject.org/fedora-23.xml.in
index a898275..7a1ed9c 100644
--- a/data/os/fedoraproject.org/fedora-23.xml.in
+++ b/data/os/fedoraproject.org/fedora-23.xml.in
@@ -24,6 +24,18 @@
       <_name>Fedora 23 Server</_name>
     </variant>
 
+    <devices>
+      <device id="http://pcisig.com/pci/1af4/1041"/> <!-- virtio1.0-net -->
+      <device id="http://pcisig.com/pci/1af4/1042"/> <!-- virtio1.0-block -->
+      <device id="http://pcisig.com/pci/1af4/1043"/> <!-- virtio1.0-console -->
+      <device id="http://pcisig.com/pci/1af4/1044"/> <!-- virtio1.0-rng -->
+      <device id="http://pcisig.com/pci/1af4/1045"/> <!-- virtio1.0-balloon -->
+      <device id="http://pcisig.com/pci/1af4/1048"/> <!-- virtio1.0-scsi -->
+      <device id="http://pcisig.com/pci/1af4/1049"/> <!-- virtio1.0-9p -->
+      <device id="http://pcisig.com/pci/1af4/1050"/> <!-- virtio1.0-gpu -->
+      <device id="http://pcisig.com/pci/1af4/1052"/> <!-- virtio1.0-input -->
+    </devices>
+
     <!-- Workstation -->
 
     <!-- Live -->
diff --git a/data/os/fedoraproject.org/fedora-9.xml.in b/data/os/fedoraproject.org/fedora-9.xml.in
index a49b56d..0410c19 100644
--- a/data/os/fedoraproject.org/fedora-9.xml.in
+++ b/data/os/fedoraproject.org/fedora-9.xml.in
@@ -19,6 +19,9 @@
            https://bugzilla.redhat.com/show_bug.cgi?id=470386
       <device id="http://pcisig.com/pci/1af4/1001"/>
       -->
+      <device id="http://pcisig.com/pci/1af4/1002"/> <!-- virtio-balloon -->
+      <device id="http://pcisig.com/pci/1af4/1003"/> <!-- virtio-console -->
+      <device id="http://pcisig.com/pci/1af4/1009"/> <!-- virtio-9p -->
     </devices>
 
     <!-- DVD -->
-- 
2.7.4




More information about the Libosinfo mailing list