commit 31ff7ce7e21fc7c654ab7b4187774fec5be371ca
Author: Jonathan Race <email address hidden>
Date: Thu Dec 16 17:17:42 2021 -0500
driver/secheduler/docs for Adds Pick guest CPU architecture based on
host arch in libvirt driver support
This is split 2 of 3 for the architecture emulation feature.
This implements emulated multi-architecture support through qemu
within OpenStack Nova.
Additional config variable check to pull host architecture into
hw_architecture field for emulation checks to be made.
Adds a custom function that simply performs a check for
hw_emulation_architecture field being set, allowing for core code to
function as normal while enabling a simple check to enable emulated
architectures to follow the same path as all multi-arch support
already established for physical nodes but instead levaraging qemu
which allows for the overall emulation.
Added check for domain xml unit test to strip arch from the os tag,
as it is not required uefi checks, and only leveraged for emulation
checks.
Added additional test cases test_driver validating emulation
functionality with checking hw_emulation_architecture against the
os_arch/hw_architecture field. Added required os-traits and settings
for scheduler request_filter.
Added RISCV64 to architecture enum for better support in driver.
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /822053 /opendev. org/openstack/ nova/commit/ 31ff7ce7e21fc7c 654ab7b4187774f ec5be371ca
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 31ff7ce7e21fc7c 654ab7b4187774f ec5be371ca
Author: Jonathan Race <email address hidden>
Date: Thu Dec 16 17:17:42 2021 -0500
driver/ secheduler/ docs for Adds Pick guest CPU architecture based on
host arch in libvirt driver support
This is split 2 of 3 for the architecture emulation feature.
This implements emulated multi-architecture support through qemu
within OpenStack Nova.
Additional config variable check to pull host architecture into
hw_architecture field for emulation checks to be made.
Adds a custom function that simply performs a check for emulation_ architecture field being set, allowing for core code to
hw_
function as normal while enabling a simple check to enable emulated
architectures to follow the same path as all multi-arch support
already established for physical nodes but instead levaraging qemu
which allows for the overall emulation.
Added check for domain xml unit test to strip arch from the os tag,
as it is not required uefi checks, and only leveraged for emulation
checks.
Added additional test cases test_driver validating emulation architecture against the arch/hw_ architecture field. Added required os-traits and settings
functionality with checking hw_emulation_
os_
for scheduler request_filter.
Added RISCV64 to architecture enum for better support in driver.
Implements: blueprint pick-guest- arch-based- on-host- arch-in- libvirt- driver 3cf51e1b17373c2 dc69676ae7c
Closes-Bug: 1863728
Change-Id: Ia070a29186c612
Signed-off-by: Jonathan Race <email address hidden>