nova/nova/virt/libvirt
ricolin 020e46094a [Arm64][libvirt] Fix read bytes from json files
This fix issue that we might get str stream from json files instead of bytes
and make sure we read bytes from json files under
QEMU_FIRMWARE_DESCRIPTOR_PATHS.

Add `rb` mode ([1]) to return contents as bytes objects.
[1] https://docs.python.org/3.8/library/functions.html#open

Closes-Bug: #1921075

Change-Id: I446be58f7f3e972d8e10cc5cbf83ebd42edb34e3
2021-03-24 12:09:13 +00:00
..
storage Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
volume libvirt: Drop support for Xen 2021-01-22 10:06:40 +00:00
__init__.py Remove vi modelines 2014-02-03 14:19:44 +00:00
blockinfo.py libvirt: Drop support for Xen 2021-01-22 10:06:40 +00:00
config.py Merge "libvirt: Add guest generation for vDPA" 2021-03-16 00:03:00 +00:00
designer.py libvirt: Add guest generation for vDPA 2021-03-12 11:48:40 +00:00
driver.py Merge "libvirt: Report secure boot support to scheduler" 2021-03-16 11:47:43 +00:00
event.py libvirt: Define and emit DeviceRemovedEvent and DeviceRemovalFailedEvent 2021-02-22 11:05:15 +01:00
guest.py Merge "libvirt: allow querying devices from the persistent domain" 2021-03-02 19:41:12 +00:00
host.py [Arm64][libvirt] Fix read bytes from json files 2021-03-24 12:09:13 +00:00
imagebackend.py libvirt: Remove 'hypervisor_version' from 'libvirt_info' 2021-01-22 12:02:15 +00:00
imagecache.py Include removal of ephemeral backing files in the image cache manager 2020-10-09 12:24:06 +01:00
instancejobtracker.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
machine_type_utils.py nova-manage: Add libvirt list_unset_machine_type command 2021-03-03 14:03:49 +00:00
migration.py libvirt: Remove MIN_LIBVIRT_FILE_BACKED_DISCARD_VERSION 2020-09-22 10:29:37 +01:00
utils.py Merge "Refactor ResourceRequest constructor" 2021-02-07 06:36:58 +00:00
vif.py libvirt: Add guest generation for vDPA 2021-03-12 11:48:40 +00:00