Aarch64 fixes for vfio-pci in kernel VM 93/25093/4
authorjuraj.linkes <juraj.linkes@pantheon.tech>
Thu, 13 Feb 2020 13:22:31 +0000 (14:22 +0100)
committerPeter Mikus <pmikus@cisco.com>
Fri, 14 Feb 2020 19:55:03 +0000 (19:55 +0000)
commit35bbc3657be85c9653f3cbf6e73e722588c392ea
treec53a8b1a33296dbaffddaeae8504c2982ef93e93
parentdd5cd790b4fe977c9ba5fd9fe73d173a01065594
Aarch64 fixes for vfio-pci in kernel VM

- Add enable_unsafe_noiommu_mode for aarch64 architecture to kernel VM
init script
- Add binding of pci device through /sys/bus/pci/drivers/vfio-pci/bind
- Minor refactor to enhance readability of differences between
architectures

Change-Id: Ib0ec35bfae054582d9ffcf7a82f8f8b3e3e24856
Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
resources/libraries/python/QemuUtils.py
resources/templates/vm/init.sh