Reviewed: https://review.opendev.org/688067 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a06922d546a26c9e6550a93cbe0718cf841b6b9f Submitter: Zuul Branch: stable/stein
commit a06922d546a26c9e6550a93cbe0718cf841b6b9f Author: John Garbutt <email address hidden> Date: Thu Jul 4 15:06:17 2019 +0100
Stop sending bad values from libosinfo to libvirt
When we try to use either virtio1.0-block or virtio1.0-net it is correctly rejected by libvirt. We get these returned from libosinfo for newer operating systems that support virtio1.0.
As we want to support libvirts older than 5.2.0, its best we just request "virtio", please see: https://libvirt.org/formatdomain.html#elementsVirtioTransitional
You can see virtio1.0-net and virtio-block being added here: https://gitlab.com/libosinfo/osinfo-db/blob/master/data/os/fedoraproject.org/fedora-23.xml.in#L31
Change-Id: I633faae47ad5a33b27f5e2eef6e0107f60335146 Closes-Bug: #1835400 (cherry picked from commit 6be668e51992df53a4d871bea70bc738a9beacb8)
Reviewed: https:/ /review. opendev. org/688067 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=a06922d546a 26c9e6550a93cbe 0718cf841b6b9f
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit a06922d546a26c9 e6550a93cbe0718 cf841b6b9f
Author: John Garbutt <email address hidden>
Date: Thu Jul 4 15:06:17 2019 +0100
Stop sending bad values from libosinfo to libvirt
When we try to use either virtio1.0-block or virtio1.0-net it is
correctly rejected by libvirt. We get these returned from libosinfo for
newer operating systems that support virtio1.0.
As we want to support libvirts older than 5.2.0, its best we just request /libvirt. org/formatdomai n.html# elementsVirtioT ransitional
"virtio", please see:
https:/
You can see virtio1.0-net and virtio-block being added here: /gitlab. com/libosinfo/ osinfo- db/blob/ master/ data/os/ fedoraproject. org/fedora- 23.xml. in#L31
https:/
Change-Id: I633faae47ad5a3 3b27f5e2eef6e01 07f60335146 3a4d871bea70bc7 38a9beacb8)
Closes-Bug: #1835400
(cherry picked from commit 6be668e51992df5