[Libosinfo] [PATCH osinfo-db 3/9] ubuntu: Add virtio1.0 devices for 17.04+

Cole Robinson crobinso at redhat.com
Wed Aug 29 21:54:41 UTC 2018


17.04 is based on kernel 4.10 according to this:

https://wiki.ubuntu.com/ZestyZapus/ReleaseNotes#Updated_Packages

debian9 is based on kernel 4.9 based on this:

https://wiki.debian.org/DebianStretch

Given that, and that debian9 already has virtio1.0 <device> metadata,
apply the same to ubuntu 17.04

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 data/os/ubuntu.com/ubuntu-17.04.xml.in | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/data/os/ubuntu.com/ubuntu-17.04.xml.in b/data/os/ubuntu.com/ubuntu-17.04.xml.in
index 69e5a27..ab46a81 100644
--- a/data/os/ubuntu.com/ubuntu-17.04.xml.in
+++ b/data/os/ubuntu.com/ubuntu-17.04.xml.in
@@ -15,6 +15,17 @@
 
     <release-date>2017-04-13</release-date>
 
+    <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/1052"/> <!-- virtio1.0-input -->
+    </devices>
+
     <resources arch="all">
       <minimum>
         <cpu>1000000000</cpu>
-- 
2.17.1




More information about the Libosinfo mailing list