UEFI loader should consider the guest architecture not the host

Bug #1902205 reported by Belmiro Moreira
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Wishlist
Belmiro Moreira

Bug Description

"""
It would be great if Nova supports instances with a different architecture than the host.
An use case would be run aarch64 guests in a x86_64 compute node.
"""

In order to use boot an aarch64 guest in a x86_64 host we need to use UEFI.
However, Nova always uses the UEFI loader considering the host architecture.
The guest architecture should be considered instead.

in livbvirt.driver.py:
"for lpath in DEFAULT_UEFI_LOADER_PATH[caps.host.cpu.arch]"

Environment
===========

Tested using the master branch (29/10/2020)

Other
=====

I'm now opening target bugs for the generic issue reported in https://bugs.launchpad.net/nova/+bug/1863728

Tags: libvirt
description: updated
Changed in nova:
assignee: nobody → Belmiro Moreira (moreira-belmiro-email-lists)
description: updated
Changed in nova:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: libvirt
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.