Reviewed: https://review.opendev.org/753011 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f2ca089bce842127e7d0644b38a11da9278db8ea Submitter: Zuul Branch: master
commit f2ca089bce842127e7d0644b38a11da9278db8ea Author: Stephen Finucane <email address hidden> Date: Mon Sep 21 16:11:38 2020 +0100
libvirt: 'video.vram' property must be an integer
The 'vram' property of the 'video' device must be an integer else libvirt will spit the dummy out, e.g.
libvirt.libvirtError: XML error: cannot parse video vram '8192.0'
The division operator in Python 3 results in a float, not an integer like in Python 2. Use the truncation division operator instead.
Change-Id: Iebf678c229da4f455459d068cafeee5f241aea1f Signed-off-by: Stephen Finucane <email address hidden> Closes-Bug: #1896496
Reviewed: https:/ /review. opendev. org/753011 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f2ca089bce8 42127e7d0644b38 a11da9278db8ea
Committed: https:/
Submitter: Zuul
Branch: master
commit f2ca089bce84212 7e7d0644b38a11d a9278db8ea
Author: Stephen Finucane <email address hidden>
Date: Mon Sep 21 16:11:38 2020 +0100
libvirt: 'video.vram' property must be an integer
The 'vram' property of the 'video' device must be an integer else
libvirt will spit the dummy out, e.g.
libvirt. libvirtError: XML error: cannot parse video vram '8192.0'
The division operator in Python 3 results in a float, not an integer
like in Python 2. Use the truncation division operator instead.
Change-Id: Iebf678c229da4f 455459d068cafee e5f241aea1f
Signed-off-by: Stephen Finucane <email address hidden>
Closes-Bug: #1896496